Returns the most recently finalized block. Replaces /block
from versions < v1.0.0.
Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.
true
When set to true
, every event will have an extra docs
property with a string of the events documentation.
false
When set to true
, every extrinsic will have an extra docs
property with a string of the extrinsics documentation.
false
When set to true
, the fee won't be calculated for the extrinsics.
false
When set to true
, this will show the decoded XCM messages within the extrinsics of the requested block.
false
When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs
parameter is set to true.
Block information that includes the decoded XCM messages if any are found in the queried block. If not, the decodedXcmMsgs object will be returned with three empty arrays corresponding to each direction, horizontalMessages, downwardMessages, upwardMessages.
successful operation