Converts calls from TzReadProvider into calls to the wrapped RpcClient in a format it can understand.

Implements

Constructors

Methods

  • Parameters

    Returns Promise<{
        cost_per_byte: BigNumber;
        hard_gas_limit_per_block: BigNumber;
        hard_gas_limit_per_operation: BigNumber;
        hard_storage_limit_per_operation: BigNumber;
        minimal_block_delay?: BigNumber;
        smart_rollup_origination_size: number;
        time_between_blocks?: BigNumber[];
    }>

    Access protocol constants used in Taquito

  • Parameters

    • contract: string

      contract address from which we want to retrieve the script

    • block: BlockIdentifier

      from which we want to retrieve the storage value

    Returns Promise<ScriptedContracts>

    Note: The code must be in the JSON format and not contain global constant

    Access the script (code and storage) of a smart contract