Bitcoin
/getbalance
Get the balance or number of the given token in the requested public address.
GET https://api.expand.network/chain/getbalance
Query Parameters
rpc
String
Remote procedural call URL
address*
String
The public address to get the balance of.
afterBlock
String
The block number after which user wants the balance
beforeBlock
String
The block number before which user wants the balance
https://api.expand.network/chain/getbalance?chainId=1800&address=1G82AFv7unVrZPSzfMNyFFAneJ2dnDFEar{
"status": 200,
"msg": "success",
"data": {
"balance": "440511",
"totalReceived": "1598691",
"totalSent": "1158180",
"utxos": [
{
"block": "866584",
"txHash": "438d019ef4246a319a7b6ed65e537ffc9a06363ef6b46607cbcde08bca5f451c",
"value": "334215",
"refBalance": "440511",
"txInputN": "94",
"txOutputN": "-1",
"confirmations": "76"
},
{
"block": "865346",
"txHash": "ed2c07eea5eab7a04700c2c61dd536059f56473d663c6f629ddf3b4c254eda15",
"value": "823965",
"refBalance": "774726",
"txInputN": "116",
"txOutputN": "-1",
"confirmations": "1314"
},
{
"block": "864456",
"txHash": "023948b3b03b53b05bde2505365c489e9a12d52b093b6ef986722c88b9e5a789",
"value": "46197",
"refBalance": "1598691",
"txInputN": "-1",
"txOutputN": "0",
"spent": false,
"confirmations": "2204"
},
{
"block": "864136",
"txHash": "a6cd2a15584972edc7780d56d7562c9f78b9b7061e923e8c08608f2c988ef644",
"value": "52623",
"refBalance": "1552494",
"txInputN": "-1",
"txOutputN": "0",
"spent": false,
"confirmations": "2524"
},
{
"block": "863678",
"txHash": "3ee1d7e63b312f4b9e8f421c6ba4d29e6bc612037e1eb30bc286b1b60fc5cfa2",
"value": "334215",
"refBalance": "1499871",
"txInputN": "-1",
"txOutputN": "8",
"spent": true,
"confirmations": "2982"
},
{
"block": "863563",
"txHash": "7bfec5057af8946d99e5d5b82d757a02d9a7cf0f1acb783f2af2a6ab76bb229a",
"value": "132225",
"refBalance": "1165656",
"txInputN": "-1",
"txOutputN": "3",
"spent": false,
"confirmations": "3097"
},
{
"block": "863539",
"txHash": "0d6ca91cd1ce4d8847f217b814e9fd05819d0cabf12eb78ea0b2ec2d9d64f8c4",
"value": "823965",
"refBalance": "1033431",
"txInputN": "-1",
"txOutputN": "9",
"spent": true,
"confirmations": "3121"
},
{
"block": "859723",
"txHash": "bf8a3cee4f8bfeceecd1fca8a1507dc1af46da10104a8e9921213e399f8daf5e",
"value": "41780",
"refBalance": "209466",
"txInputN": "-1",
"txOutputN": "0",
"spent": false,
"confirmations": "6937"
},
{
"block": "859277",
"txHash": "1c8f47243dc2cdd0d5ad59c4d26f88471b45cf32b26dd1b89d0cf18af16671be",
"value": "167686",
"refBalance": "167686",
"txInputN": "-1",
"txOutputN": "0",
"spent": false,
"confirmations": "7383"
}
]
}
}/getblock
Get details of a block.
GET https://historicallp.api.expand.network/chain/getblock
Query Parameters
/getgasprice
Get the current gas price from the network.
GET https://api.expand.network/chain/getgasprice
Query Parameters
/gettransaction
Get details of a transaction.
GET https://api.expand.network/chain/gettransaction
Query Parameters
/getusertransactions
Get the historical transaction details for a specific user address.
GET https://historicallp.api.expand.network/chain/getusertransactions
Query Parameters
rpc
String
Remote procedural call URL.
address*
String
The public address of the user.
beforeBlock
String
The block number before which user wants the transaction
afterBlock
String
The block number after which user wants the transaction
/sendtransaction
Send transaction on the chain.
POST https://api.expand.network/chain/sendtransaction
Request Body
/decodetransaction
Get the decoded transaction for the provided raw transaction.
POST https://api.expand.network/chain/decodetransaction
Request Body
Last updated

