tonGetAddress
Last updated
Was this helpful?
Last updated
Was this helpful?
Firmware version required
Touch: 4.10.0
Display requested address derived by given BIP32 path on device and returns it to caller. User is presented with a description of the requested key and asked to confirm the export on OneKey.
Exporting single address
path
— required string | Array<number>
minimum length is 3. read more
showOnOneKey
— optional boolean
determines if address will be displayed on device. Default is set to true
walletVersion
— optional TonWalletVersion
TON wallet version (default: 3)
isBounceable
— optional boolean
whether address is bounceable (default: false)
isTestnetOnly
— optional boolean
whether to use testnet (default: false)
Exporting bundle of addresses
bundle
- Array
of Objects with path
and showOnOneKey
fields
Result
Result with only one address
Result with bundle of addresses sorted by FIFO
Error