curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getshieldedpaymentaddress \
--header 'Content-Type: application/json' \
--data '{
"ivk": "0x05a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
"d": "0x06a1b2c3d4e5f6789012"
}'
{
"pkd": "0x07a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
"payment_address": "ztron1abc123def456ghi789jklmno012pqr345stu678vwx90"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getshieldedpaymentaddress \
--header 'Content-Type: application/json' \
--data '{
"ivk": "0x05a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
"d": "0x06a1b2c3d4e5f6789012"
}'
{
"pkd": "0x07a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
"payment_address": "ztron1abc123def456ghi789jklmno012pqr345stu678vwx90"
}
ivk
— the incoming viewing key in hexadecimal formatd
— the diversifier in hexadecimal formatpkd
— the shielded payment address public key in hexadecimal formatpayment_address
— the complete shielded payment addresswallet/getshieldedpaymentaddress
method is used for:
Successfully generated shielded payment address
The response is of type object
.
Was this page helpful?