package tezos-tx-rollup-015-PtLimaPt

  1. Overview
  2. Docs

Module Tezos_tx_rollup_015_PtLimaPt.RPCSource

Sourcetype block_id = [
  1. | `Head
  2. | `L2_block of L2block.hash
  3. | `Tezos_block of Tezos_base.TzPervasives.Block_hash.t
  4. | `Level of L2block.level
]
Sourceval destruct_block_id : string -> (block_id, string) result
Sourcetype context_id = [
  1. | block_id
  2. | `Context of Tezos_protocol_015_PtLimaPt.Protocol.Tx_rollup_l2_context_hash.t
]
Sourcemodule Encodings : sig ... end

Starts the RPC server of the tx_rollup_node.

Sourceval balance : Tezos_rpc.Context.simple -> block_id -> Tezos_protocol_015_PtLimaPt.Protocol.Alpha_context.Ticket_hash.t -> Tezos_protocol_015_PtLimaPt.Protocol.Tx_rollup_l2_address.t -> Tezos_protocol_015_PtLimaPt.Protocol.Tx_rollup_l2_qty.t Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the balance for an l2-address and a ticket.

Sourceval counter : Tezos_rpc.Context.simple -> block_id -> Tezos_protocol_015_PtLimaPt.Protocol.Tx_rollup_l2_address.t -> int64 Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the current counter for the given address.

Sourceval inbox : Tezos_rpc.Context.simple -> block_id -> Inbox.t option Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the tx-rollup-node inbox for a given block.

Sourceval raw_block : Tezos_rpc.Context.simple -> block_id -> (L2block.t * L2block.metadata) option Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the L2 block in the tx-rollup-node in the raw format.

Sourceval block : Tezos_rpc.Context.simple -> block_id -> (Fancy_l2block.t * L2block.metadata) option Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the L2 block in the tx-rollup-node.

Sourceval get_queue : Tezos_rpc.Context.simple -> L2_transaction.t list Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns the whole queue of L2 transactions.

Sourceval get_transaction : Tezos_rpc.Context.simple -> L2_transaction.hash -> L2_transaction.t option Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Returns an L2 transaction in the queue given a transaction hash.

Sourceval inject_transaction : Tezos_rpc.Context.simple -> ?eager_batch:bool -> L2_transaction.t -> L2_transaction.hash Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Inject an L2 transaction in the queue of the rollup node and returns the transaction hash.

Sourceval get_message_proof : Tezos_rpc.Context.simple -> block_id -> message_position:int -> Tezos_protocol_015_PtLimaPt.Protocol.Tx_rollup_l2_proof.t option Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Get the merkle proof associated to a message position in the block's inbox.

Sourceval monitor_synchronized : Tezos_rpc.Context.streamed -> ([ `Synchronizing of State.sync_levels | `Synchronized ] Lwt_stream.t * Tezos_rpc.Context.stopper) Tezos_base.TzPervasives.tzresult Lwt.t

Monitors the synchronized progress of the rollup node with respect to L1.

OCaml

Innovation. Community. Security.