curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getnewshieldedaddress \
--header 'Content-Type: application/json' \
--data '{}'{
"sk": "02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678",
"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",
"nsk": "590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14",
"ovk": "0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889",
"ak": "8072d9110c9de9d9ade33d5d0f5890a7aa65b0cde42af7816d187297caf2fd64",
"nk": "590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14",
"ivk": "9f8e74bb3d7188a2781dc1db38810c6914eef4570a79e8ec8404480948e4e305",
"d": "06e5f678901234567890ab",
"pkD": "a1b2c3d4e5f6789012345678901234567890123456789012345678901234abcd",
"payment_address": "ztron1768kf7dy4qquefp46szk978d65eeua66yhr4zv260c0uzj68t3tfjl3en9lhyyfxalv4jus30xs"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getnewshieldedaddress \
--header 'Content-Type: application/json' \
--data '{}'{
"sk": "02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678",
"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",
"nsk": "590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14",
"ovk": "0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889",
"ak": "8072d9110c9de9d9ade33d5d0f5890a7aa65b0cde42af7816d187297caf2fd64",
"nk": "590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14",
"ivk": "9f8e74bb3d7188a2781dc1db38810c6914eef4570a79e8ec8404480948e4e305",
"d": "06e5f678901234567890ab",
"pkD": "a1b2c3d4e5f6789012345678901234567890123456789012345678901234abcd",
"payment_address": "ztron1768kf7dy4qquefp46szk978d65eeua66yhr4zv260c0uzj68t3tfjl3en9lhyyfxalv4jus30xs"
}sk — the spending key (private key for the address)ask — the authentication secret keynsk — the nullifier secret keyovk — the outgoing viewing keyak — the authentication keynk — the nullifier keyivk — the incoming viewing keyd — the diversifierpkD — the payment address public keypayment_address — the complete shielded payment addresswallet/getnewshieldedaddress method is used for:
The body is of type object.
Successfully generated new shielded address with full key set
Spending key (private key, 64 hex characters, no 0x prefix)
"02a1b2c3d4e5f67890123456789012345678901234567890123456789012345678"
Authentication secret key (64 hex characters, no 0x prefix)
"0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005"
Nullifier secret key (64 hex characters, no 0x prefix)
"590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14"
Outgoing viewing key (64 hex characters, no 0x prefix)
"0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889"
Authentication key (64 hex characters, no 0x prefix)
"8072d9110c9de9d9ade33d5d0f5890a7aa65b0cde42af7816d187297caf2fd64"
Nullifier key (64 hex characters, no 0x prefix)
"590bf33f93f792be659fd404df91e75c3b08d38d4e08ee226c3f5219cf598f14"
Incoming viewing key (64 hex characters, no 0x prefix)
"9f8e74bb3d7188a2781dc1db38810c6914eef4570a79e8ec8404480948e4e305"
Diversifier (22 hex characters, no 0x prefix)
"06e5f678901234567890ab"
Payment address public key (64 hex characters, no 0x prefix)
"a1b2c3d4e5f6789012345678901234567890123456789012345678901234abcd"
Complete shielded payment address (ztron1 format, 78 characters)
"ztron1768kf7dy4qquefp46szk978d65eeua66yhr4zv260c0uzj68t3tfjl3en9lhyyfxalv4jus30xs"
Was this page helpful?