Taquito TypeDocs
    Preparing search index...

    Class RpcReadAdapter

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

    Implements

    Index

    Constructors

    Methods

    • The spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'spendable' RPC.

      Parameters

      • address: string

        address from which we want to retrieve the spendable balance

      • block: BlockIdentifier

        from which we want to retrieve the balance

      Returns Promise<BigNumber>

      the balance in mutez

    • Access protocol constants used in Taquito

      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[];
          },
      >

    • The spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'balance' RPC.

      Parameters

      • address: string

        address from which we want to retrieve the spendable balance

      • block: BlockIdentifier

        from which we want to retrieve the balance

      Returns Promise<BigNumber>

      the balance in mutez