mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-20 06:08:39 +01:00
3.6 KiB
3.6 KiB
Methods
API call return a Promise. Resolve is guaranteed to get called
with a result object, even if user closes the window, network connection times
out, etc. In case of failure result.success is set to false and result.payload.error is
the error message. It is recommended to log the error message and let user
restart the action.
Every method require an Object with combination of common fields and method specific fields.
- TrezorConnect.getPublicKey
- TrezorConnect.requestLogin
- TrezorConnect.cipherKeyValue
- TrezorConnect.wipeDevice
- TrezorConnect.resetDevice
- TrezorConnect.getCoinInfo
- TrezorConnect.getDeviceState
Bitcoin, Bitcoin Cash, Bitcoin Gold, Litecoin, Dash, ZCash, Testnet
- TrezorConnect.getAddress
- TrezorConnect.getAccountInfo
- TrezorConnect.getOwnershipId
- TrezorConnect.getOwnershipProof
- TrezorConnect.composeTransaction
- TrezorConnect.signTransaction
- TrezorConnect.pushTransaction
- TrezorConnect.signMessage
- TrezorConnect.verifyMessage
- TrezorConnect.authorizeCoinJoin
Ethereum
- TrezorConnect.ethereumGetAddress
- TrezorConnect.ethereumSignTransaction
- TrezorConnect.ethereumSignMessage
- TrezorConnect.ethereumSignTypedData
- TrezorConnect.ethereumVerifyMessage
Eos
NEM
Stellar
Cardano
- TrezorConnect.cardanoGetPublicKey
- TrezorConnect.cardanoGetAddress
- TrezorConnect.cardanoSignTransaction
Ripple
Tezos
Binance
- TrezorConnect.binanceGetAddress
- TrezorConnect.binanceGetPublicKey
- TrezorConnect.binanceSignTransaction
Management
please note that these method are not available from popup mode