Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.83 KB

api.md

File metadata and controls

55 lines (36 loc) · 2.83 KB

Accounts

Types:

Methods:

  • client.accounts.address([ ...body ]) -> AccountAddressResponse
  • client.accounts.info([ ...body ]) -> AccountInfoResponse

Blocks

Types:

Methods:

  • client.blocks.retrieve(heightOrHash) -> BlockRetrieveResponse
  • client.blocks.count() -> BlockCountResponse
  • client.blocks.latest() -> BlockLatestResponse
  • client.blocks.latestHash() -> BlockLatestHashResponse
  • client.blocks.range(startHeight, endHeight, { ...params }) -> BlockRangeResponse
  • client.blocks.recent(count) -> BlockRecentResponse

Programs

Types:

Methods:

  • client.programs.accounts({ ...params }) -> ProgramAccountsResponse

Transactions

Types:

Methods:

  • client.transactions.retrieve(txHash) -> TransactionRetrieveResponse
  • client.transactions.batchSend([ ...body ]) -> TransactionBatchSendResponse
  • client.transactions.send({ ...params }) -> TransactionSendResponse