chain/getBlock
Gets a block from the chain from a given hash or sequence.
One of hash or sequence must be provided.
Request
{
search?: string
hash?: string
sequence?: number
confirmations?: number
}
Response
{
block: RpcBlock
metadata: {
main: boolean
confirmed: boolean
}
}
RPC Objects: