Skip to main content

/wallet/createspendauthsig REST API Endpoint

Generate a spend authorization signature for a transaction in the TRON blockchain.

Updated on
Oct 4, 2023

/wallet/createspendauthsig REST API Endpoint

Body Parameters

ask
string
REQUIRED
The authorization secret key used for generating the spend authorization signature
tx_hash
string
REQUIRED
The hash value of the transaction for which the spend authorization signature is being generated
alpha
string
REQUIRED
The alpha value used in the calculation of the spend authorization signature

Returns

value
The generated spend authorization signature, represented as a string
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '{
5
"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",
6
"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",
7
"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"
8
}
9
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free