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
Solana
Tezos
Binance
- TrezorConnect.binanceGetAddress
- TrezorConnect.binanceGetPublicKey
- TrezorConnect.binanceSignTransaction
Management
please note that these method are not available from popup mode