Skip to main content

sdk.tap.decodeAddress(address)

As Taproot Asset addresses contain the amount and asset ID, you should verify the contents before sending to them.

Parameters:

  • address: The encoded Taproot Asset Address.

Return Value:

The decoded address information

{
"assetID": "53b1309c60afd64068025de0c2a3d0bc01952cb6d8b0f9126da54dbda2d06ccf",
"amount": 123,
"valid": true
}