latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet
Get Wallet Cross Chain Unspents
Returns atomic cross-chain unspents that can be imported by the wallet. Supported coins: AVAX.
get/api/v2/{coin}/wallet/{walletId}/crossChainUnspents
Path parameters
coinstring required
A cryptocurrency symbol or token ticker symbol
Example:btc
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
Query parameters
sourceChainstring
Returns unspents exported from the source chain. If not provided, returns outputs from all chains.
Response
OK
Example response
[
{
"unspent": {
"outputID": 7,
"amount": "2000000",
"txid": "2WW4Z9R9jdUSR1uheJ1rGuLUNXjipXESGknGWrkqx7KUU1YKV5",
"threshold": 1,
"addresses": [
"C-fuji167u3leuup654jdea3euggkhh82ta53jer3ttf4",
"C-fuji19vy09dn76mvt55r0x2d3ch2jrr8z6lgp80vzlj",
"C-fuji1idynny22nx91z7mujpwadmjy930yjqa040zdjh0w"
],
"outputidx": "1",
"locktime": "0"
},
"fromWallet": "6386565affdf48cb812ca1f0ed49a621",
"toWallet": "6386565affdf48cb812ca1f0ed49a621",
"toAddress": "0x125c4451c870f753265b0b1af3cf6ab88ffe4657"
}
]