Osmosis
/getbalance
Get the balance or number of the given token in the requested public address.
GET
https://api.expand.network/chain/getbalance
Query Parameters
Name | Type | Description |
---|---|---|
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. |
https://api.expand.network/chain/getbalance?chainId=osmosis-1&address=osmo1sjllsnramtg3ewxqwwrwjxfgc4n4ef9u8slkgw
{
"status": 200,
"msg": "success",
"data": {
"balance": "5402607"
}
}
/getblock
Get details of a block.
GET
https://historicallp.api.expand.network/chain/getblock
Query Parameters
Name | Type | Description |
---|---|---|
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(sequence) number. |
https://historicallp.api.expand.network/chain/getblock?chainId=osmosis-1&blockNumber=23318268
{
"status": 200,
"msg": "success",
"data": {
"difficulty": null,
"gasLimit": null,
"gasUsed": null,
"hash": "C640D4A87C99FFD0A8630BE0B7CB38701B93393CEFB7C2DA01CFA033427EDCE8",
"miner": null,
"nonce": null,
"number": "23318268",
"parentHash": null,
"size": null,
"timestamp": "1730526452",
"totalDifficulty": null,
"transactions": [
{
"body": {
"messages": [
{
"typeUrl": "/ibc.core.client.v1.MsgUpdateClient",
"value": "ChIwNy10ZW5kZXJtaW50LTMyNDgSxCgKJi9pYmMubGlnaHRjbGllbnRzLnRlbmRlcm1pbnQudjEuSGVhZGVyEpkoCq8QCpIDCgIICxIJc3RyYXRvcy0xGOWt4gIiDAjt+Za5BhD5+8izASpICiAngSBWAD7OZonbTvPqG4MA51ef15GpquCCwI3+CfUVSxIkCAESIAlGP2cPhnsLshNUJNJZIL7dIKuV3iswr2mBYHCeo4E/MiB5s++zz7dM0VslFeXi2LZJb0IY/zWqk1I0dpuFxWEX5jog47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFVCIPLQjhr+MgpcKP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xIIpISNI9axCc/YxlNTAlIBZICItCAESKRS+B8jbxAUge3sskJSYD57ZKxgL+J7WiDEdPVzTYm7Ia7NHtOXmHGogIi0IARIpFrgSyNvEBSDhPTcbeM+PIWbSwvFrGlYwNVN2m7vEJovd+ZF1GQlNGSAiLQgBEikY6h7I28QFICKtkhg5HE7ALyvPfg0rcfJQBSzYXm0LrK8+LQ9kKmmFIAr+AQr7AQoDaWJjEiC4RH8jmv8/RRnABTKpUO5SbVrxcaOSp7HeiuIVABd3pRoJCAEYASABKgEAIicIARIBARogxQXA/UixzytlYZ8SsxROGcYLTmtiUl7pNr6T0EFiPr8iJwgBEgEBGiB6/tdSu5HLgbhIdlVFDSpTo/vybAsXcIRWIKwKFUUF3yIlCAESIQHLwdY96LU9qrTKj0kLtZITZtIwTRrhX/7mt2r2kyRlSCIlCAESIQHn3rT6EQjat5MGPvJ1uLYkfq6O0ysPTzOMQMJvJx7hyyInCAESAQEaIOU5aAmAfnP6zU/UtRaBq4+sLUFX8FhCFzVaVbonE2BrGgcIARDlreICIitvc21vMWg3Y2NzbTQ4cWU1bGdxa2hmeXYzOGd0M3I4YTJydTJybmNjOHdj"
}
],
"memo": "hermes 1.10.3 (https://hermes.informal.systems)",
"timeoutHeight": "BIGINT::0",
"extensionOptions": [],
"nonCriticalExtensionOptions": []
},
"authInfo": {
"signerInfos": [
{
"publicKey": {
"typeUrl": "/cosmos.crypto.secp256k1.PubKey",
"value": "CiECW3odwFMZhcnvdMRPgYSZdmhypAjbRNYum/t2NRYLfVU="
},
"modeInfo": {
"single": {
"mode": 1
}
},
"sequence": "BIGINT::73"
}
],
"fee": {
"amount": [
{
"denom": "uosmo",
"amount": "1559"
}
],
"gasLimit": "BIGINT::566625",
"payer": "",
"granter": ""
}
},
"signatures": [
"AlHW4QiHMPlZDc9cclWPzzFTbDabHBJUZ/ic1zjkoDp7MeZnWEyiw208p/7FrVSaE0OrVA1fqtKqch5XG9y3+w=="
]
},
{
"body": {
"messages": [
{
"typeUrl": "/ibc.applications.transfer.v1.MsgTransfer",
"value": "Cgh0cmFuc2ZlchIKY2hhbm5lbC01MRpTCkRpYmMvRDgwNUYxREE1MEQzMUI5NkU0MjgyQzFENDE4MUVEREZCMUE0NEE1OThCRkY1NjY2RjRCNDNFNEI4QkVBOTVBNRILMzI0NDIwMDAwMDAiK29zbW8xMnY1OTNqMGpqZTdneDR2ZndjcXIyMm5sZHJldGo5d2drbnVmcHIqK2JjbmExMnY1OTNqMGpqZTdneDR2ZndjcXIyMm5sZHJldGo5d2d5Y2xjbHIyBwgBENf36gc="
}
],
"memo": "FE",
"timeoutHeight": "BIGINT::23318338",
"extensionOptions": [],
"nonCriticalExtensionOptions": []
},
"authInfo": {
"signerInfos": [
{
"publicKey": {
"typeUrl": "/cosmos.crypto.secp256k1.PubKey",
"value": "CiECRDgL5960SEPHP9yVE87G3hBP8Q0OTS+FrjXj0DLLq3Q="
},
"modeInfo": {
"single": {
"mode": 127
}
},
"sequence": "BIGINT::20738"
}
],
"fee": {
"amount": [
{
"denom": "uosmo",
"amount": "766"
}
],
"gasLimit": "BIGINT::306299",
"payer": "",
"granter": ""
}
},
"signatures": [
"udM4pqO0XAcGrID/LNfNUk5KVR5PDWZvyte/VLWDiAsyE+BteWBkj6Ta1BgOhDuLu1YRxLLkGPb/Moen3oi4qg=="
]
}
],
"transactionsRoot": null,
"uncles": null
}
}
/getgasprice
Get the current gas price from the network.
GET
https://api.expand.network/chain/getgasprice
Query Parameters
Name | Type | Description |
---|---|---|
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. |
https://api.expand.network/chain/getgasprice?chainId=osmosis-1
{
"status": 200,
"msg": "success",
"data": {
"gasPrice": "2500"
}
}
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/chain/gettransaction
Query Parameters
Name | Type | Description |
---|---|---|
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(digest) hash. |
https://api.expand.network/chain/gettransaction?chainId=osmosis-1&transactionHash=011B8922E83E37C1D105EDB164C75F082D400202F909AB4F85DC1AB7D94DE615
{
"status": 200,
"msg": "success",
"data": {
"hash": "011B8922E83E37C1D105EDB164C75F082D400202F909AB4F85DC1AB7D94DE615",
"transactionStatus": true,
"blockNumber": "23318605",
"timestamp": "1730526983",
"from": "osmo10fel6un2ajkr00zjjge3uqyv94v29y6nv3p2nc",
"to": "9188907",
"value": null,
"msgs": [
{
"positionId": "9188907",
"sender": "osmo10fel6un2ajkr00zjjge3uqyv94v29y6nv3p2nc",
"amount0": "718855",
"amount1": "3012828",
"tokenMinAmount0": "1",
"tokenMinAmount1": "1"
}
],
"transactionFees": "2945",
"gas": "988923",
"gasPrice": null,
"input": null,
"nonce": null,
"network": null
}
}
/portfolio
Get the comprehensive information about the assets/ tokens owned by a user.
GET
https://api.expand.network/chain/portfolio
Query Parameters
Name | Type | Description |
---|---|---|
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 | Public addess of the user. |
https://api.expand.network/chain/portfolio?chainId=osmosis-1&address=osmo1c3ljch9dfw5kf52nfwpxd2zmj2ese7agnx0p9tenkrryasrle5sqf3ftpg
{
"status": 200,
"msg": "success",
"data": [
{
"denom": "factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA",
"amount": "35171081956",
"symbol": "milkTIA",
"assetType": "sdk.coin"
},
{
"denom": "factory/osmo1z0qrq605sjgcqpylfl4aa6s90x738j7m58wyatt0tdzflg2ha26q67k743/wbtc",
"amount": "1003141805",
"symbol": "WBTC",
"assetType": "sdk.coin"
},
{
"denom": "ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4",
"amount": "182390105757",
"symbol": "AKT",
"assetType": "ics20"
},
{
"denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
"amount": "68690880573",
"symbol": "ATOM",
"assetType": "sdk.coin"
},
{
"denom": "ibc/2F21E6D4271DE3F561F20A02CD541DAF7405B1E9CB3B9B07E3C2AC7D8A4338A5",
"amount": "11951328817392458861",
"symbol": "wstETH",
"assetType": "ics20"
},
{
"denom": "ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4",
"amount": "2818549781520",
"symbol": "USDC",
"assetType": "ics20"
},
{
"denom": "ibc/4ABBEF4C8926DDDB320AE5188CFD63267ABBCEFC0583E4AE05D6E5AA2401DDAB",
"amount": "217034306434",
"symbol": "USDT.kava",
"assetType": "ics20"
},
{
"denom": "ibc/64BA6E31FE887D66C6F8F31C7B1A80C7CA179239677B4088BB55F5EA07DBE273",
"amount": "24598869714343245115021",
"symbol": "INJ",
"assetType": "ics20"
},
{
"denom": "ibc/698350B8A61D575025F3ED13E9AC9C0F45C89DEFE92F76D5838F1D3C1A7FF7C9",
"amount": "432871116",
"symbol": "stTIA",
"assetType": "ics20"
},
{
"denom": "ibc/831F0B1BBB1D08A2B75311892876D71565478C532967545476DF4C2D7492E48C",
"amount": "67462936907396945513770",
"symbol": "DYDX",
"assetType": "ics20"
},
{
"denom": "ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E",
"amount": "112076442426",
"symbol": "AXL",
"assetType": "ics20"
},
{
"denom": "ibc/980E82A9F8E7CA8CD480F4577E73682A6D3855A267D1831485D7EBEF0E7A6C2C",
"amount": "3208131235234249612256",
"symbol": "stDYDX",
"assetType": "ics20"
},
{
"denom": "ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901",
"amount": "13780913392",
"symbol": "stATOM",
"assetType": "ics20"
},
{
"denom": "ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F",
"amount": "2303455676",
"symbol": "WBTC.eth.axl",
"assetType": "ics20"
},
{
"denom": "ibc/D176154B0C63D1F9C6DCFB4F70349EBF2E2B5A87A05902F57A6AE92B863E9AEC",
"amount": "275842099655",
"symbol": "stOSMO",
"assetType": "ics20"
},
{
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": "98371143418",
"symbol": "USDC.eth.axl",
"assetType": "ics20"
},
{
"denom": "ibc/D79E7D83AB399BFFF93433E54FAA480C191248FC556924A2A8351AE2638B3877",
"amount": "42606981504",
"symbol": "TIA",
"assetType": "ics20"
},
{
"denom": "ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5",
"amount": "480713281433019596856",
"symbol": "ETH.axl",
"assetType": "ics20"
},
{
"denom": "uosmo",
"amount": "2364147133127",
"symbol": "OSMO",
"assetType": "sdk.coin"
}
]
}
/sendtransaction
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Request Body
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
chainId* | Integer | 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. |
{
"chainId": "osmo-test-5",
"rawTransaction": "CpQBCokBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmkKK29zbW8xcXgyZ3JwaGU2dXVmcTNycTBmczN2aDhnbXcyMmxtZTh4Znp3ZDkSK29zbW8xbHkydGpuOXA0MHdqdXV2YXF2bjJ4NWhsdXdjZ2U0ZWZ2cTRkNDUaDQoFdW9zbW8SBDEwMDASBmV4cGFuZBJmCk4KRgofL2Nvc21vcy5jcnlwdG8uc2VjcDI1NmsxLlB1YktleRIjCiECmtobmpmdMCzS0MiKF/kKV16J1Nlh8YKAsc0WbqicJD0SBAoCCAESFAoOCgV1b3NtbxIFMTAwMDAQwJoMGkD1tkxby+wrNEjNjHRtjiEL73qxIpIlayytBV9GmnhARy61SgIrLE0TCTAoDzxD/PV9gLIDbvpFQdwEzjYhSk7n"
}
{
"status": 200,
"msg": "success",
"data": {
"transactionHash": "E182A3093ADF97EC85109AB6F02C19D22F8B57EAC676F6FD21E935BCCB916EF9"
}
}
/decodetransaction
Get the decoded transaction for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
Request Body
Name | Type | Description |
---|---|---|
chainId* | String | Refer to the Chain ID page for details. By default, Ethereum. |
chainSymbol | String | Refer to the Chain ID page for details. |
rawTransaction* | String | The raw transaction to be given for decoding. |
{
"chainId": "osmo-test-5",
"rawTransaction": "CpQBCokBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmkKK29zbW8xcXgyZ3JwaGU2dXVmcTNycTBmczN2aDhnbXcyMmxtZTh4Znp3ZDkSK29zbW8xbHkydGpuOXA0MHdqdXV2YXF2bjJ4NWhsdXdjZ2U0ZWZ2cTRkNDUaDQoFdW9zbW8SBDEwMDASBmV4cGFuZBJmCk4KRgofL2Nvc21vcy5jcnlwdG8uc2VjcDI1NmsxLlB1YktleRIjCiECmtobmpmdMCzS0MiKF/kKV16J1Nlh8YKAsc0WbqicJD0SBAoCCAESFAoOCgV1b3NtbxIFMTAwMDAQwJoMGkD1tkxby+wrNEjNjHRtjiEL73qxIpIlayytBV9GmnhARy61SgIrLE0TCTAoDzxD/PV9gLIDbvpFQdwEzjYhSk7n"
}
{
"status": 200,
"msg": "success",
"data": {
"parsedTx": {
"body": {
"messages": [
{
"typeUrl": "/cosmos.bank.v1beta1.MsgSend",
"value": "Citvc21vMXF4MmdycGhlNnV1ZnEzcnEwZnMzdmg4Z213MjJsbWU4eGZ6d2Q5Eitvc21vMWx5MnRqbjlwNDB3anV1dmFxdm4yeDVobHV3Y2dlNGVmdnE0ZDQ1Gg0KBXVvc21vEgQxMDAw"
}
],
"memo": "expand",
"timeoutHeight": "BIGINT::0",
"extensionOptions": [],
"nonCriticalExtensionOptions": []
},
"authInfo": {
"signerInfos": [
{
"publicKey": {
"typeUrl": "/cosmos.crypto.secp256k1.PubKey",
"value": "CiECmtobmpmdMCzS0MiKF/kKV16J1Nlh8YKAsc0WbqicJD0="
},
"modeInfo": {
"single": {
"mode": 1
}
},
"sequence": "BIGINT::0"
}
],
"fee": {
"amount": [
{
"denom": "uosmo",
"amount": "10000"
}
],
"gasLimit": "BIGINT::200000",
"payer": "",
"granter": ""
}
},
"signatures": [
"9bZMW8vsKzRIzYx0bY4hC+96sSKSJWssrQVfRpp4QEcutUoCKyxNEwkwKA88Q/z1fYCyA276RUHcBM42IUpO5w=="
]
}
}
}
Last updated