@gnchain/wallet-types
v0.1.0
Published
This is a separate package because it is used for [`@terra-money/use-wallet`](https://www.npmjs.com/package/@terra-money/use-wallet), [`@terra-money/wallet-controller`](https://www.npmjs.com/package/@terra-money/wallet-controller), and [`@terra-money/wall
Downloads
2
Readme
Common types of @terra-money/wallet-provider
This is a separate package because it is used for @terra-money/use-wallet
, @terra-money/wallet-controller
, and @terra-money/wallet-provider
.
You don't have to use this separately.
It is re-exported from them.
APIs
- Types
enum WalletStatus
enum ConnectType
type WalletInfo
type WalletStates
type NetworkInfo
type TxResult extends CreateTxOptions
type SignResult extends CreateTxOptions
type SignBytesResult
- Error types
class UserDenied extends Error
class CreateTxFailed extends Error
class TxFailed extends Error
class Timeout extends Error
class TxUnspecifiedError extends Error