Skip to main content Link Menu Expand (external link) Document Search Copy Copied

FreezeTronKMS

Model getters

Method name Return type Description Notes
getFrom() string Sender address of TRON account in Base58 format.
Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh
 
getSignatureId() string Identifier of the private key associated in signing application. Private key, or signature Id must be present.
Example: 1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6
 
getIndex() float If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
Example: null
[optional]
getReceiver() string Recipient address of frozen BANDWIDTH or ENERGY.
Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh
 
getDuration() float Duration of frozen funds, in days
Set this parameter to 3.
Example: 3
 
getResource() string Resource to obtain, BANDWIDTH or ENERGY.
Example: ENERGY
 
getAmount() string Amount to be frozen in TRX.
Example: 100000