⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
Method: POST ledger
Retrieve information about the public ledger.
ledger_hash - String
(Optional) A 20-byte hex string for the ledger version to use.
ledger_index - String or Unsigned Integer
(Optional) The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.
account - String
The unique identifier of an account, typically the account's Address.
The request returns channels where this account is the channel's owner/source.
transactions - Boolean
(Optional) If true, include an array of suggested transactions, as JSON objects, that you can sign and submit to fix the problems. Defaults to false.
expand - Boolean
(Optional) Provide full JSON-formatted information for transaction/account information instead of only hashes.
Defaults to false. Ignored unless you request transactions, accounts, or both.
owner_funds - Boolean
(Optional) If true, include owner_funds field in the metadata of OfferCreate transactions in the response.
Defaults to false. Ignored unless transactions are included and expand is true.
binary - Boolean
(Optional) If true, and transactions and expand are both also true, return transaction information in binary format (hexadecimal string) instead of JSON format.
queue - Boolean
(Optional) If true, and the command is requesting the current ledger, includes an array of queued transactions in the results.