Stacks

/getbalance

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

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

Query Parameters

https://api.expand.network/chain/getbalance?chainId=1700&address=SM3WXM7T41Q3WD7A1JW9RW31VHG2PA9PJTQCMPBX7&tokenAddress=SM26NBC8SFHNW4P1Y4DFH27974P56WN86C92HPEHH.token-lqstx

/getblock

Get details of a block.

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

Query Parameters

https://historicallp.api.expand.network/chain/getblock?chainId=1700&blockNumber=100

/getgasprice

Get the current gas price from the network.

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

Query Parameters

https://api.expand.network/chain/getgasprice?chainId=1700

/gettransaction

Get details of a transaction.

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

Query Parameters

https://api.expand.network/chain/gettransaction?chainId=1700&transactionHash=0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0

/getusertransactions

Get the historical transaction details for a specific user address.

GET https://historicallp.api.expand.network/chain/getusertransactions

Query Parameters

https://historicallp.api.expand.network/chain/getusertransactions?chainId=1700&address=SP8J8NZDN88QPS1PBA85R474QYS590HPRP34TEWM&sortOrder=desc&pageToken=162