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
https://api.expand.network/chain/getbalance?chainId=osmosis-1&address=osmo1sjllsnramtg3ewxqwwrwjxfgc4n4ef9u8slkgw
/getblock
Get details of a block.
GET
https://historicallp.api.expand.network/chain/getblock
Query Parameters
https://historicallp.api.expand.network/chain/getblock?chainId=osmosis-1&blockNumber=23318268
/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=osmosis-1
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/chain/gettransaction
Query Parameters
https://api.expand.network/chain/gettransaction?chainId=osmosis-1&transactionHash=011B8922E83E37C1D105EDB164C75F082D400202F909AB4F85DC1AB7D94DE615
/portfolio
Get the comprehensive information about the assets/ tokens owned by a user.
GET
https://api.expand.network/chain/portfolio
Query Parameters
https://api.expand.network/chain/portfolio?chainId=osmosis-1&address=osmo1c3ljch9dfw5kf52nfwpxd2zmj2ese7agnx0p9tenkrryasrle5sqf3ftpg
/sendtransaction
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Request Body
{
"chainId": "osmo-test-5",
"rawTransaction": "CpQBCokBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmkKK29zbW8xcXgyZ3JwaGU2dXVmcTNycTBmczN2aDhnbXcyMmxtZTh4Znp3ZDkSK29zbW8xbHkydGpuOXA0MHdqdXV2YXF2bjJ4NWhsdXdjZ2U0ZWZ2cTRkNDUaDQoFdW9zbW8SBDEwMDASBmV4cGFuZBJmCk4KRgofL2Nvc21vcy5jcnlwdG8uc2VjcDI1NmsxLlB1YktleRIjCiECmtobmpmdMCzS0MiKF/kKV16J1Nlh8YKAsc0WbqicJD0SBAoCCAESFAoOCgV1b3NtbxIFMTAwMDAQwJoMGkD1tkxby+wrNEjNjHRtjiEL73qxIpIlayytBV9GmnhARy61SgIrLE0TCTAoDzxD/PV9gLIDbvpFQdwEzjYhSk7n"
}
/decodetransaction
Get the decoded transaction for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
Request Body
{
"chainId": "osmo-test-5",
"rawTransaction": "CpQBCokBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmkKK29zbW8xcXgyZ3JwaGU2dXVmcTNycTBmczN2aDhnbXcyMmxtZTh4Znp3ZDkSK29zbW8xbHkydGpuOXA0MHdqdXV2YXF2bjJ4NWhsdXdjZ2U0ZWZ2cTRkNDUaDQoFdW9zbW8SBDEwMDASBmV4cGFuZBJmCk4KRgofL2Nvc21vcy5jcnlwdG8uc2VjcDI1NmsxLlB1YktleRIjCiECmtobmpmdMCzS0MiKF/kKV16J1Nlh8YKAsc0WbqicJD0SBAoCCAESFAoOCgV1b3NtbxIFMTAwMDAQwJoMGkD1tkxby+wrNEjNjHRtjiEL73qxIpIlayytBV9GmnhARy61SgIrLE0TCTAoDzxD/PV9gLIDbvpFQdwEzjYhSk7n"
}
Last updated