On this page

latest contributor to this doc

Last Edit:

@gcharang

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)

StructureTypeDescription
addressstringInput UTXO address
to_coinstringInput address to convert from

StructureTypeDescription
resultstringConverted 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"
}