Skip to main content

/wallet/getzenpaymentaddress REST API Endpoint

Returns the payment address by providing the diversifier and the incoming viewing key (ivk).

Updated on
Oct 4, 2023

/wallet/getzenpaymentaddress REST API Endpoint

Body Parameters

ivk
string
REQUIRED
A string representing the incoming viewing key (ivk) associated with the shielded TRC20 contract
d
string
REQUIRED
A string representing the diversifier value

Returns

d
The diversifier object with the following fields:
d
The diversifier value, which is a randomly generated value used to enhance privacy and make each shielded transaction address unique
pkD
It represents the public key associated with the diversifier
payment_address
The payment address associated with the provided diversifier and public key
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getzenpaymentaddress \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '{
5
"d": "ac9a0dd8854da4e57a8111",
6
"ivk": "6896b46a8355ae75896900ac617293d98e1b48fd885ed484a7cbddd566762705"
7
}
8
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free