convert_utxo_address
convert_utxo_address address to_coin
The convert_utxo_address
method takes a UTXO address as input, and returns the equivalent address for another UTXO coin (e.g. from BTC address to RVN address)
Structure | Type | Description |
---|---|---|
address | string | Input UTXO address |
to_coin | string | Input address to convert from |
Structure | Type | Description |
---|---|---|
result | string | Converted address |
POST
convert_utxo_address{
"userpass": "RPC_UserP@SSW0RD",
"method": "convert_utxo_address",
"coin": "BTC",
"address": "1DmFp16U73RrVZtYUbo2Ectt8mAnYScpqM",
"to_coin": "RVN"
}
{
"result": "RN3StWykhsERZaFjwmn9L9E5u2dPAt3YTS"
}
{
"error": "rpc:174] dispatcher_legacy:155] lp_coins:1668] Coin RVN is not activated"
}
{
"error": "rpc:174] dispatcher_legacy:155] lp_coins:1665] Invalid Checksum"
}