Algorand

/getbalance

Get the balance or number of the given token in the requested public address.

GET https://api.expand.network/chain/getbalance

Query Parameters

NameTypeDescription

rpc

String

Remote procedural call URL.

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

address*

String

The public address to get the balance of.

tokenAddress

String

The address of token to get the balance of.

key

String

Contains the API key.

https://api.expand.network/chain/getbalance/?address=ZW3ISEHZUHPO7OZGMKLKIIMKVICOUDRCERI454I3DB2BH52HGLSO67W754&chainId=1300

/getblock

Get details of a block.

GET https://api.expand.network/chain/getblock

Query Parameters

NameTypeDescription

rpc

String

Remote procedural call URL.

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

blockNumber*

String

The block number or block hash.

key

String

Contains the API key.

connectionType*

String

Pass value as "idx".

https://api.expand.network/chain/getblock?blockNumber=26664056&connectionType=idx&chainId=1300

/gettransaction

Get details of a transaction.

GET https://api.expand.network/chain/gettransaction

Query Parameters

NameTypeDescription

rpc

String

Remote procedural call URL.

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

transactionHash*

String

The transaction Hash.

key

String

Contains the API key.

connectionType*

String

Pass value as "idx".

https://api.expand.network/chain/gettransaction?chainId=1300&transactionHash=OLCUTSEF6VXYQDBFWF4HRYMZSIWBX6KGK6Z4LZ6ENXKOFQRVNT7Q&connectionType=idx

/sendtransaction

Send transaction on the chain.

POST https://api.expand.network/chain/sendtransaction

Request Body

NameTypeDescription

chainId*

String

Refer to the Chain ID page for details.

chainSymbol

String

Refer to the Chain ID page for details.

rawTransaction*

String

The encoded transaction, obtained from signed transaction.

key

String

Contains the API key.

rpc

String

Remote procedural call URL.

{
    "chainId": "1300",
    "rawTransaction": "gqNzaWfEQHCJiluAOitZ4EQDDP1qmUbVH5frkxy2KOkqmwoYdtENZAR5f55OKoBMQnBerWQkO8JK6HiC4byawVK42P6/5A+jdHhuiaNhbXTOAAGGoKNmZWXOAAPE2KJmds4Bol3zo2dlbqx0ZXN0bmV0LXYxLjCiZ2jEIEhjtRiks8hOyBDyLU8QgcsPcfBZp6wg3sYvf3DlCToiomx2zgGiYdujcmN2xCCbP4KhZktlDSi+r3y5BkT69HDy4Vj+osSH1D1G8hvgBqNzbmTEIIvCk9AJ+SgmkphoJpj7tvaD379lxCgYbXggKeLOaMCWpHR5cGWjcGF5"
}

Last updated

#553: ENC-2526-LIDO

Change request updated