ECDSA USER CMGet balance with UTXOs GET
Get balance with UTXOs
Get balance with UTXOs
Query Parameters
publicKeystring
CWEB wallet pubkey (no 0x prefix)
backendUrl?string
Default: https://api-cloud.coinweb.io/wallet
shard?string
Default: BNB. Other options: BITCOIN, ELROND, ETHEREUM, KUJI, LITECOIN, POLYGON, ARBITRUM, DEVNET_L1A, DEVNET_L1B, BITCOIN_TESTNET, etc.
Value in
"BITCOIN" | "BITCOIN_CASH" | "BITCOIN_CASH_TESTNET" | "BITCOIN_TESTNET" | "BNB" | "BNB_TESTNET" | "DOGECOIN" | "DOGECOIN_TESTNET" | "ELROND" | "ELROND_TESTNET" | "ETHEREUM" | "ETHEREUM_TESTNET" | "KUJI" | "KUJI_TESTNET" | "LITECOIN" | "LITECOIN_TESTNET" | "POLYGON" | "POLYGON_TESTNET" | "ARBITRUM" | "ARBITRUM_TESTNET" | "DEVNET_L1A" | "DEVNET_L1B"
Response Body
curl -X GET "https://api.pactswap.io/ecdsa_cm/getWalletBalanceCWEBwithUTXOs?publicKey=string&backendUrl=string&shard=BITCOIN"
{
"balanceCWEB": "string",
"balanceHexCWEB": "string",
"numberOfUTXOs": 0,
"decimals": 0,
"utxos": [
{
"balanceCWEB": "string",
"txId": "string"
}
]
}
Was this documentation helpful? Any suggestions?
Last updated on