= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type block_id = [
|
`Head
|
`L2_block of L2block.hash
|
`Tezos_block of Tezos_crypto.Block_hash.t
|
`Level of L2block.level
]
module Encodings : sig ... end
val start_server :
Node_config.t ->
State.t ->
Tezos_rpc_http_server.RPC_server.server Tezos_base.TzPervasives.tzresult
Lwt.t
Starts the RPC server of the tx_rollup_node.
val balance :
Tezos_rpc.RPC_context.simple ->
block_id ->
Tezos_protocol_013_PtJakart.Protocol.Alpha_context.Ticket_hash.t ->
Tezos_protocol_013_PtJakart.Protocol.Tx_rollup_l2_address.t ->
Tezos_protocol_013_PtJakart.Protocol.Tx_rollup_l2_qty.t
Tezos_base.TzPervasives.Error_monad.tzresult
Lwt.t
Returns the balance for an l2-address and a ticket.
val counter :
Tezos_rpc.RPC_context.simple ->
block_id ->
Tezos_protocol_013_PtJakart.Protocol.Tx_rollup_l2_address.t ->
int64 Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t
Returns the current counter for the given address.
val inbox :
Tezos_rpc.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.
val raw_block :
Tezos_rpc.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.
val block :
Tezos_rpc.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.
val get_queue :
Tezos_rpc.RPC_context.simple ->
L2_transaction.t list Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t
Returns the whole queue of L2 transactions.
val get_transaction :
Tezos_rpc.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.
val inject_transaction :
Tezos_rpc.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.
val get_message_proof :
Tezos_rpc.RPC_context.simple ->
block_id ->
message_position:int ->
Tezos_protocol_013_PtJakart.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.
val monitor_synchronized :
Tezos_rpc.RPC_context.streamed ->
([ `Synchronizing of State.sync_levels | `Synchronized ] Lwt_stream.t
* Tezos_rpc.RPC_context.stopper)
Tezos_base.TzPervasives.tzresult
Lwt.t
Monitors the synchronized progress of the rollup node with respect to L1.