@ledgerhq/wallet-api-client
Enumerations
Classes
Interfaces
- AlgorandTransaction
- AppHandlers
- BitcoinTransaction
- CosmosTransaction
- CryptoOrgTransaction
- EthereumTransaction
- FilecoinTransaction
- PolkadotTransaction
- RippleTransaction
- RpcRequest
- RpcResponseCommon
- RpcResponseError
- RpcResponseFailed
- RpcResponseSuccess
- StellarTransaction
- TezosTransaction
- TransactionCommon
- Transport
- TronTransaction
- WalletHandlers
Type Aliases
Account
Ƭ Account: Object
A ledger live cryptocurrency account
Remarks
This is a slightly modified subset of the Account type used by the Ledger Live platform.
See
reference in Ledger Live Common doc for more infos
Type declaration
Name | Type | Description |
---|---|---|
address | string | The "next" public address where a user should receive funds. In the context of Bitcoin, the address is "renewed" each time funds are received in order to allow some privacy. In other blockchains, the address might never change |
balance | BigNumber | The total amount of assets that this account holds |
blockHeight | number | Tracks the current blockchain block height |
currency | string | The associated cryptocurrency id of the Account |
id | string | The unique identifier of this account used internally by Ledger Live software |
lastSyncDate | Date | The date of the last time a synchronization was performed. In other words, tracks how up-to-date the Account data is |
name | string | The account’s name set by the user. |
spendableBalance | BigNumber | The amount of the balance that can be spent. Most of the time it will be equal to the balance, but this can vary in some blockchains |
Defined in
packages/core/lib/accounts/types.d.ts:12
AccountList
Ƭ AccountList: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaAccountListParams > |
result | z.infer <typeof schemaAccountListResults > |
Defined in
packages/core/lib/spec/types/AccountList.d.ts:122
AccountListHandler
Ƭ AccountListHandler: (params
: AccountList
["params"
]) => AccountList
["result"
]
Type declaration
▸ (params
): AccountList
["result"
]
Parameters
Name | Type |
---|---|
params | AccountList ["params" ] |
Returns
AccountList
["result"
]
Defined in
packages/core/lib/spec/types/AccountList.d.ts:126
AccountNotFound
Ƭ AccountNotFound: z.infer
<typeof schemaAccountNotFound
>
Defined in
packages/core/lib/errors/types.d.ts:51
AccountReceive
Ƭ AccountReceive: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaAccountReceiveParams > |
result | z.infer <typeof schemaAccountReceiveResults > |
Defined in
packages/core/lib/spec/types/AccountReceive.d.ts:32
AccountReceiveHandler
Ƭ AccountReceiveHandler: (params
: AccountReceive
["params"
]) => AccountReceive
["result"
]
Type declaration
▸ (params
): AccountReceive
["result"
]
Parameters
Name | Type |
---|---|
params | AccountReceive ["params" ] |
Returns
AccountReceive
["result"
]
Defined in
packages/core/lib/spec/types/AccountReceive.d.ts:36
AccountRequest
Ƭ AccountRequest: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaAccountRequestParams > |
result | z.infer <typeof schemaAccountRequestResults > |
Defined in
packages/core/lib/spec/types/AccountRequest.d.ts:122
AccountRequestHandler
Ƭ AccountRequestHandler: (params
: AccountRequest
["params"
]) => AccountRequest
["result"
]
Type declaration
▸ (params
): AccountRequest
["result"
]
Parameters
Name | Type |
---|---|
params | AccountRequest ["params" ] |
Returns
AccountRequest
["result"
]
Defined in
packages/core/lib/spec/types/AccountRequest.d.ts:126
AlgorandOperationMode
Ƭ AlgorandOperationMode: z.infer
<typeof schemaAlgorandOperationMode
>
Defined in
packages/core/lib/families/algorand/types.d.ts:5
ApplicationDetails
Ƭ ApplicationDetails: Object
Informations about a device application
Type declaration
Name | Type | Description |
---|---|---|
name | string | Name of the application |
version | string | Version of the application (SemVer) |
Defined in
packages/core/lib/types/index.d.ts:63
BitcoinGetXPub
Ƭ BitcoinGetXPub: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaBitcoinGetXPubParams > |
result | z.infer <typeof schemaBitcoinGetXPubResults > |
Defined in
packages/core/lib/spec/types/BitcoinGetXPub.d.ts:32
BitcoinGetXPubHandler
Ƭ BitcoinGetXPubHandler: (params
: BitcoinGetXPub
["params"
]) => BitcoinGetXPub
["result"
]
Type declaration
▸ (params
): BitcoinGetXPub
["result"
]
Parameters
Name | Type |
---|---|
params | BitcoinGetXPub ["params" ] |
Returns
BitcoinGetXPub
["result"
]
Defined in
packages/core/lib/spec/types/BitcoinGetXPub.d.ts:36
CosmosOperationMode
Ƭ CosmosOperationMode: z.infer
<typeof schemaCosmosOperationMode
>
Defined in
packages/core/lib/families/cosmos/types.d.ts:5
CryptoCurrency
Ƭ CryptoCurrency: z.infer
<typeof schemaCryptoCurrency
>
Crypto currency model
Defined in
packages/core/lib/currencies/types.d.ts:14
Currency
Ƭ Currency: z.infer
<typeof schemaCurrency
>
Defined in
packages/core/lib/currencies/types.d.ts:19
CurrencyList
Ƭ CurrencyList: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaCurrencyListParams > |
result | z.infer <typeof schemaCurrencyListResult > |
Defined in
packages/core/lib/spec/types/CurrencyList.d.ts:218
CurrencyListHandler
Ƭ CurrencyListHandler: (params
: CurrencyList
["params"
]) => CurrencyList
["result"
]
Type declaration
▸ (params
): CurrencyList
["result"
]
Parameters
Name | Type |
---|---|
params | CurrencyList ["params" ] |
Returns
CurrencyList
["result"
]
Defined in
packages/core/lib/spec/types/CurrencyList.d.ts:222
CurrencyNotFound
Ƭ CurrencyNotFound: z.infer
<typeof schemaCurrencyNotFound
>
Defined in
packages/core/lib/errors/types.d.ts:75
CurrencyType
Ƭ CurrencyType: z.infer
<typeof schemaCurrencyType
>
Currency types
Defined in
packages/core/lib/currencies/types.d.ts:6
DeviceClose
Ƭ DeviceClose: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaDeviceCloseParams > |
result | z.infer <typeof schemaDeviceCloseResults > |
Defined in
packages/core/lib/spec/types/DeviceClose.d.ts:32
DeviceCloseHandler
Ƭ DeviceCloseHandler: (params
: DeviceClose
["params"
]) => DeviceClose
["result"
]
Type declaration
▸ (params
): DeviceClose
["result"
]
Parameters
Name | Type |
---|---|
params | DeviceClose ["params" ] |
Returns
DeviceClose
["result"
]
Defined in
packages/core/lib/spec/types/DeviceClose.d.ts:36
DeviceExchange
Ƭ DeviceExchange: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaDeviceExchangeParams > |
result | z.infer <typeof schemaDeviceExchangeResults > |
Defined in
packages/core/lib/spec/types/DeviceExchange.d.ts:38
DeviceExchangeHandler
Ƭ DeviceExchangeHandler: (params
: DeviceExchange
["params"
]) => DeviceExchange
["result"
]
Type declaration
▸ (params
): DeviceExchange
["result"
]
Parameters
Name | Type |
---|---|
params | DeviceExchange ["params" ] |
Returns
DeviceExchange
["result"
]
Defined in
packages/core/lib/spec/types/DeviceExchange.d.ts:42
DeviceInfo
Ƭ DeviceInfo: Object
Information about a device
Type declaration
Name | Type | Description |
---|---|---|
modelId | DeviceModel | The model of the device |
version | string | The version of the firmware |
Defined in
packages/core/lib/types/index.d.ts:42
DeviceTransport
Ƭ DeviceTransport: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaDeviceTransportParams > |
result | z.infer <typeof schemaDeviceTransportResults > |
Defined in
packages/core/lib/spec/types/DeviceTransport.d.ts:88
DeviceTransportHandler
Ƭ DeviceTransportHandler: (params
: DeviceTransport
["params"
]) => DeviceTransport
["result"
]
Type declaration
▸ (params
): DeviceTransport
["result"
]
Parameters
Name | Type |
---|---|
params | DeviceTransport ["params" ] |
Returns
DeviceTransport
["result"
]
Defined in
packages/core/lib/spec/types/DeviceTransport.d.ts:92
DeviceType
Ƭ DeviceType: z.infer
<typeof schemaDeviceType
>
Defined in
packages/core/lib/spec/types/DeviceTransport.d.ts:3
ERC20TokenCurrency
Ƭ ERC20TokenCurrency: z.infer
<typeof schemaERC20TokenCurrency
>
ERC20 token currency model
Defined in
packages/core/lib/currencies/types.d.ts:18
EcdsaSignature
Ƭ EcdsaSignature: Buffer
The ECDSA signature of the payload
Defined in
packages/core/lib/types/index.d.ts:12
ExchangeComplete
Ƭ ExchangeComplete: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaExchangeCompleteParams > |
result | z.infer <typeof schemaExchangeCompleteResults > |
Defined in
packages/core/lib/spec/types/ExchangeComplete.d.ts:2432
ExchangeCompleteHandler
Ƭ ExchangeCompleteHandler: (params
: ExchangeComplete
["params"
]) => ExchangeComplete
["result"
]
Type declaration
▸ (params
): ExchangeComplete
["result"
]
Parameters
Name | Type |
---|---|
params | ExchangeComplete ["params" ] |
Returns
ExchangeComplete
["result"
]
Defined in
packages/core/lib/spec/types/ExchangeComplete.d.ts:2436
ExchangeDeviceTxId
Ƭ ExchangeDeviceTxId: string
A transaction ID used to complete the exchange process
Defined in
packages/core/lib/types/index.d.ts:16
ExchangePayload
Ƭ ExchangePayload: Buffer
Metadata used to describe a secure exchange between a Ledger device and a partner (for sell, swap and funding) @ref: https://github.com/LedgerHQ/app-exchange/blob/master/src/proto/protocol.proto
Defined in
packages/core/lib/types/index.d.ts:8
ExchangeStart
Ƭ ExchangeStart: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaExchangeStartParams > |
result | z.infer <typeof schemaExchangeStartResults > |
Defined in
packages/core/lib/spec/types/ExchangeStart.d.ts:32
ExchangeStartHandler
Ƭ ExchangeStartHandler: (params
: ExchangeStart
["params"
]) => ExchangeStart
["result"
]
Type declaration
▸ (params
): ExchangeStart
["result"
]
Parameters
Name | Type |
---|---|
params | ExchangeStart ["params" ] |
Returns
ExchangeStart
["result"
]
Defined in
packages/core/lib/spec/types/ExchangeStart.d.ts:36
Families
Ƭ Families: z.infer
<typeof schemaFamilies
>
Supported coin families
Defined in
packages/core/lib/families/types.d.ts:19
MessageHandler
Ƭ MessageHandler: (message
: string
) => void
Type declaration
▸ (message
): void
Simple contract for handling a Message received through a Transport protocol
Parameters
Name | Type |
---|---|
message | string |
Returns
void
Defined in
packages/core/lib/transports/types.d.ts:6
MessageSign
Ƭ MessageSign: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaMessageSignParams > |
result | z.infer <typeof schemaMessageSignResults > |
Defined in
packages/core/lib/spec/types/MessageSign.d.ts:38
MessageSignHandler
Ƭ MessageSignHandler: (params
: MessageSign
["params"
]) => MessageSign
["result"
]
Type declaration
▸ (params
): MessageSign
["result"
]
Parameters
Name | Type |
---|---|
params | MessageSign ["params" ] |
Returns
MessageSign
["result"
]
Defined in
packages/core/lib/spec/types/MessageSign.d.ts:42
MethodId
Ƭ MethodId: z.infer
<typeof schemaRPCMethod
>
Defined in
packages/core/lib/spec/methods.d.ts:2
NotImplementedByWallet
Ƭ NotImplementedByWallet: z.infer
<typeof schemaNotImplementedByWallet
>
Defined in
packages/core/lib/errors/types.d.ts:27
Permission
Ƭ Permission: Object
Type declaration
Name | Type |
---|---|
currencyIds | string [] |
methodIds | string [] |
Defined in
packages/core/lib/types/index.d.ts:73
PermissionDenied
Ƭ PermissionDenied: z.infer
<typeof schemaPermissionDenied
>
Defined in
packages/core/lib/errors/types.d.ts:99
PolkadotOperationMode
Ƭ PolkadotOperationMode: z.infer
<typeof schemaPolkadotOperationMode
>
Defined in
packages/core/lib/families/polkadot/types.d.ts:5
Promisable
Ƭ Promisable<T
>: T
| PromiseLike
<T
>
Type parameters
Name |
---|
T |
Defined in
packages/core/lib/types/index.d.ts:2
RPCHandler
Ƭ RPCHandler<Result
>: (request
: RpcRequest
) => Promise
<Result
>
Type parameters
Name |
---|
Result |
Type declaration
▸ (request
): Promise
<Result
>
Parameters
Name | Type |
---|---|
request | RpcRequest |
Returns
Promise
<Result
>
Defined in
packages/client/src/WalletAPIClient.ts:23
RawAccount
Ƭ RawAccount: z.infer
<typeof schemaRawAccount
>
The raw representation of the Account type
See
Account for information regarding individual fields. Each field type is the serialized version of the corresponding Account type
Defined in
packages/core/lib/accounts/types.d.ts:51
RawAlgorandTransaction
Ƭ RawAlgorandTransaction: z.infer
<typeof schemaRawAlgorandTransaction
>
Defined in
packages/core/lib/families/algorand/types.d.ts:13
RawBitcoinTransaction
Ƭ RawBitcoinTransaction: z.infer
<typeof schemaRawBitcoinTransaction
>
Defined in
packages/core/lib/families/bitcoin/types.d.ts:9
RawCosmosTransaction
Ƭ RawCosmosTransaction: z.infer
<typeof schemaRawCosmosTransaction
>
Defined in
packages/core/lib/families/cosmos/types.d.ts:13
RawCryptoOrgTransaction
Ƭ RawCryptoOrgTransaction: z.infer
<typeof schemaRawCryptoOrgTransaction
>
Defined in
packages/core/lib/families/crypto_org/types.d.ts:10
RawEthereumTransaction
Ƭ RawEthereumTransaction: z.infer
<typeof schemaRawEthereumTransaction
>
Defined in
packages/core/lib/families/ethereum/types.d.ts:13
RawFilecoinTransaction
Ƭ RawFilecoinTransaction: z.infer
<typeof schemaRawFilecoinTransaction
>
Defined in
packages/core/lib/families/filecoin/types.d.ts:7
RawPolkadotTransaction
Ƭ RawPolkadotTransaction: z.infer
<typeof schemaRawPolkadotTransaction
>
Defined in
packages/core/lib/families/polkadot/types.d.ts:12
RawRippleTransaction
Ƭ RawRippleTransaction: z.infer
<typeof schemaRawRippleTransaction
>
Defined in
packages/core/lib/families/ripple/types.d.ts:10
RawStellarTransaction
Ƭ RawStellarTransaction: z.infer
<typeof schemaRawStellarTransaction
>
Defined in
packages/core/lib/families/stellar/types.d.ts:11
RawTezosTransaction
Ƭ RawTezosTransaction: z.infer
<typeof schemaRawTezosTransaction
>
Defined in
packages/core/lib/families/tezos/types.d.ts:12
RawTransaction
Ƭ RawTransaction: z.infer
<typeof schemaRawTransaction
>
The raw representation of the generic Transaction type.
Defined in
packages/core/lib/families/types.d.ts:47
RawTransactionCommon
Ƭ RawTransactionCommon: z.infer
<typeof schemaRawTransaction
>
The raw representation of the common transaction fields found in TransactionCommon type
See
TransactionCommon for information regarding individual fields. Each field type is the serialized version of the corresponding TransactionCommon type
Defined in
packages/core/lib/families/types.d.ts:25
RawTronTransaction
Ƭ RawTronTransaction: z.infer
<typeof schemaRawTronTransaction
>
Defined in
packages/core/lib/families/tron/types.d.ts:12
RpcResponse
Ƭ RpcResponse<TResult
, TErrorData
>: RpcResponseSuccess
<TResult
> | RpcResponseFailed
<TErrorData
>
When a rpc call is made, the Server MUST reply with a Response except for in the case of Notifications. The Response is expressed as a single JSON Object
Type parameters
Name | Type |
---|---|
TResult | unknown |
TErrorData | unknown |
Defined in
packages/core/lib/JSONRPC/types.d.ts:98
ServerErrorCode
Ƭ ServerErrorCode: z.infer
<typeof schemaServerErrorCode
>
Defined in
packages/core/lib/errors/types.d.ts:3
ServerErrorData
Ƭ ServerErrorData: z.infer
<typeof schemaServerErrorData
>
Defined in
packages/core/lib/errors/types.d.ts:321
StorageGet
Ƭ StorageGet: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaStorageGetParams > |
result | z.infer <typeof schemaStorageGetResults > |
Defined in
packages/core/lib/spec/types/StorageGet.d.ts:38
StorageGetHandler
Ƭ StorageGetHandler: (params
: StorageGet
["params"
]) => StorageGet
["result"
]
Type declaration
▸ (params
): StorageGet
["result"
]
Parameters
Name | Type |
---|---|
params | StorageGet ["params" ] |
Returns
StorageGet
["result"
]
Defined in
packages/core/lib/spec/types/StorageGet.d.ts:42
StorageSet
Ƭ StorageSet: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaStorageSetParams > |
result | z.infer <typeof schemaStorageSetResults > |
Defined in
packages/core/lib/spec/types/StorageSet.d.ts:32
StorageSetHandler
Ƭ StorageSetHandler: (params
: StorageSet
["params"
]) => StorageSet
["result"
]
Type declaration
▸ (params
): StorageSet
["result"
]
Parameters
Name | Type |
---|---|
params | StorageSet ["params" ] |
Returns
StorageSet
["result"
]
Defined in
packages/core/lib/spec/types/StorageSet.d.ts:36
TezosOperationMode
Ƭ TezosOperationMode: z.infer
<typeof schemaTezosOperationMode
>
Defined in
packages/core/lib/families/tezos/types.d.ts:5
TokenStandard
Ƭ TokenStandard: z.infer
<typeof schemaTokenStandard
>
Token standards
Defined in
packages/core/lib/currencies/types.d.ts:10
Transaction
Ƭ Transaction: EthereumTransaction
| BitcoinTransaction
| AlgorandTransaction
| CryptoOrgTransaction
| FilecoinTransaction
| RippleTransaction
| CosmosTransaction
| TezosTransaction
| PolkadotTransaction
| StellarTransaction
| TronTransaction
Description of an unsigned transaction. This type is used to build transactions and then sign them with a Ledger device and finally broadcast them to the network upon user validation.
Defined in
packages/core/lib/families/types.d.ts:53
TransactionSign
Ƭ TransactionSign: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaTransactionSignParams > |
result | z.infer <typeof schemaTransactionSignResults > |
Defined in
packages/core/lib/spec/types/TransactionSign.d.ts:816
TransactionSignAndBroadcast
Ƭ TransactionSignAndBroadcast: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaTransactionSignAndBroadcastParams > |
result | z.infer <typeof schemaTransactionSignAndBroadcastResults > |
Defined in
packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:816
TransactionSignAndBroadcastHandler
Ƭ TransactionSignAndBroadcastHandler: (params
: TransactionSignAndBroadcast
["params"
]) => TransactionSignAndBroadcast
["result"
]
Type declaration
▸ (params
): TransactionSignAndBroadcast
["result"
]
Parameters
Name | Type |
---|---|
params | TransactionSignAndBroadcast ["params" ] |
Returns
TransactionSignAndBroadcast
["result"
]
Defined in
packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:820
TransactionSignHandler
Ƭ TransactionSignHandler: (params
: TransactionSign
["params"
]) => TransactionSign
["result"
]
Type declaration
▸ (params
): TransactionSign
["result"
]
Parameters
Name | Type |
---|---|
params | TransactionSign ["params" ] |
Returns
TransactionSign
["result"
]
Defined in
packages/core/lib/spec/types/TransactionSign.d.ts:820
TronOperationMode
Ƭ TronOperationMode: z.infer
<typeof schemaTronOperationMode
>
Defined in
packages/core/lib/families/tron/types.d.ts:4
TronResource
Ƭ TronResource: z.infer
<typeof schemaTronResource
>
Defined in
packages/core/lib/families/tron/types.d.ts:5
UnauthorizedStore
Ƭ UnauthorizedStore: z.infer
<typeof schemaUnauthorizedStore
>
Defined in
packages/core/lib/errors/types.d.ts:167
UnknownError
Ƭ UnknownError: z.infer
<typeof schemaUnknownError
>
Defined in
packages/core/lib/errors/types.d.ts:143
WalletCapabilities
Ƭ WalletCapabilities: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaWalletCapabilitiesParams > |
result | z.infer <typeof schemaWalletCapabilitiesResults > |
Defined in
packages/core/lib/spec/types/WalletCapabilities.d.ts:20
WalletCapabilitiesHandler
Ƭ WalletCapabilitiesHandler: (params
: WalletCapabilities
["params"
]) => WalletCapabilities
["result"
]
Type declaration
▸ (params
): WalletCapabilities
["result"
]
Parameters
Name | Type |
---|---|
params | WalletCapabilities ["params" ] |
Returns
WalletCapabilities
["result"
]
Defined in
packages/core/lib/spec/types/WalletCapabilities.d.ts:24
WalletInfo
Ƭ WalletInfo: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaWalletInfoParams > |
result | z.infer <typeof schemaWalletInfoResults > |
Defined in
packages/core/lib/spec/types/WalletInfo.d.ts:56
WalletInfoHandler
Ƭ WalletInfoHandler: (params
: WalletInfo
["params"
]) => WalletInfo
["result"
]
Type declaration
▸ (params
): WalletInfo
["result"
]
Parameters
Name | Type |
---|---|
params | WalletInfo ["params" ] |
Returns
WalletInfo
["result"
]
Defined in
packages/core/lib/spec/types/WalletInfo.d.ts:60
WalletUserId
Ƭ WalletUserId: Object
Type declaration
Name | Type |
---|---|
params | z.infer <typeof schemaWalletUserIdParams > |
result | z.infer <typeof schemaWalletUserIdResults > |
Defined in
packages/core/lib/spec/types/WalletUserId.d.ts:20
WalletUserIdHandler
Ƭ WalletUserIdHandler: (params
: WalletUserId
["params"
]) => WalletUserId
["result"
]
Type declaration
▸ (params
): WalletUserId
["result"
]
Parameters
Name | Type |
---|---|
params | WalletUserId ["params" ] |
Returns
WalletUserId
["result"
]
Defined in
packages/core/lib/spec/types/WalletUserId.d.ts:24
Variables
FAMILIES
• Const
FAMILIES: readonly ["bitcoin"
, "ethereum"
, "algorand"
, "crypto_org"
, "ripple"
, "cosmos"
, "ripple"
, "cosmos"
, "filecoin"
, "tezos"
, "polkadot"
, "stellar"
, "tron"
]
Defined in
packages/core/lib/families/common.d.ts:12
schemaAccountList
• Const
schemaAccountList: Object
Type declaration
Name | Type |
---|---|
params | z.ZodOptional <z.ZodObject <{ currencyIds : z.ZodOptional <z.ZodArray <z.ZodString , "many" >> }, "strip" , z.ZodTypeAny , { currencyIds? : string [] }, { currencyIds? : string [] }>> |
result | z.ZodObject <{ rawAccounts : z.ZodArray <z.ZodObject <{ address : z.ZodString ; balance : z.ZodString ; blockHeight : z.ZodNumber ; currency : z.ZodString ; id : z.ZodString ; lastSyncDate : z.ZodString ; name : z.ZodString ; spendableBalance : z.ZodString }, "strip" , z.ZodTypeAny , { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }, { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }>, "many" > }, "strip" , z.ZodTypeAny , { rawAccounts : { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }[] }, { rawAccounts : { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }[] }> |
Defined in
packages/core/lib/spec/types/AccountList.d.ts:61
schemaAccountNotFound
• Const
schemaAccountNotFound: z.ZodObject
<{ code
: z.ZodLiteral
<"ACCOUNT_NOT_FOUND"
> ; data
: z.ZodObject
<{ accountId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { accountId
: string
}, { accountId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "ACCOUNT_NOT_FOUND"
; data
: { accountId
: string
} ; message
: string
}, { code
: "ACCOUNT_NOT_FOUND"
; data
: { accountId
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:28
schemaAccountReceive
• Const
schemaAccountReceive: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ accountId : z.ZodString }, "strip" , z.ZodTypeAny , { accountId : string }, { accountId : string }> |
result | z.ZodObject <{ address : z.ZodString }, "strip" , z.ZodTypeAny , { address : string }, { address : string }> |
Defined in
packages/core/lib/spec/types/AccountReceive.d.ts:16
schemaAccountRequest
• Const
schemaAccountRequest: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ currencyIds : z.ZodOptional <z.ZodArray <z.ZodString , "many" >> }, "strip" , z.ZodTypeAny , { currencyIds? : string [] }, { currencyIds? : string [] }> |
result | z.ZodObject <{ rawAccount : z.ZodObject <{ address : z.ZodString ; balance : z.ZodString ; blockHeight : z.ZodNumber ; currency : z.ZodString ; id : z.ZodString ; lastSyncDate : z.ZodString ; name : z.ZodString ; spendableBalance : z.ZodString }, "strip" , z.ZodTypeAny , { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }, { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string }> }, "strip" , z.ZodTypeAny , { rawAccount : { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string } }, { rawAccount : { address : string ; balance : string ; blockHeight : number ; currency : string ; id : string ; lastSyncDate : string ; name : string ; spendableBalance : string } }> |
Defined in
packages/core/lib/spec/types/AccountRequest.d.ts:61
schemaBaseCurrency
• Const
schemaBaseCurrency: z.ZodObject
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { color
: string
; decimals
: number
; id
: string
; name
: string
; ticker
: string
}, { color
: string
; decimals
: number
; id
: string
; name
: string
; ticker
: string
}>
Defined in
packages/core/lib/currencies/validation.d.ts:4
schemaBitcoinGetXPub
• Const
schemaBitcoinGetXPub: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ accountId : z.ZodString }, "strip" , z.ZodTypeAny , { accountId : string }, { accountId : string }> |
result | z.ZodObject <{ xPub : z.ZodString }, "strip" , z.ZodTypeAny , { xPub : string }, { xPub : string }> |
Defined in
packages/core/lib/spec/types/BitcoinGetXPub.d.ts:16
schemaCryptoCurrency
• Const
schemaCryptoCurrency: z.ZodObject
<z.extendShape
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, { family
: z.ZodEnum
<["bitcoin"
, "ethereum"
, "algorand"
, "crypto_org"
, "ripple"
, "cosmos"
, "ripple"
, "cosmos"
, "filecoin"
, "tezos"
, "polkadot"
, "stellar"
, "tron"
]> ; type
: z.ZodLiteral
<"CryptoCurrency"
> }>, "strip"
, z.ZodTypeAny
, { color
: string
; decimals
: number
; family
: "bitcoin"
| "ethereum"
| "algorand"
| "crypto_org"
| "ripple"
| "cosmos"
| "filecoin"
| "tezos"
| "polkadot"
| "stellar"
| "tron"
; id
: string
; name
: string
; ticker
: string
; type
: "CryptoCurrency"
}, { color
: string
; decimals
: number
; family
: "bitcoin"
| "ethereum"
| "algorand"
| "crypto_org"
| "ripple"
| "cosmos"
| "filecoin"
| "tezos"
| "polkadot"
| "stellar"
| "tron"
; id
: string
; name
: string
; ticker
: string
; type
: "CryptoCurrency"
}>
Defined in
packages/core/lib/currencies/validation.d.ts:23
schemaCurrency
• Const
schemaCurrency: z.ZodDiscriminatedUnion
<"type"
, z.Primitive
, z.ZodObject
<z.extendShape
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, { family
: z.ZodEnum
<["bitcoin"
, "ethereum"
, "algorand"
, "crypto_org"
, "ripple"
, "cosmos"
, "ripple"
, "cosmos"
, "filecoin"
, "tezos"
, "polkadot"
, "stellar"
, "tron"
]> ; type
: z.ZodLiteral
<"CryptoCurrency"
> }>, "strip"
, z.ZodTypeAny
, { color
: string
; decimals
: number
; family
: "bitcoin"
| "ethereum"
| "algorand"
| "crypto_org"
| "ripple"
| "cosmos"
| "filecoin"
| "tezos"
| "polkadot"
| "stellar"
| "tron"
; id
: string
; name
: string
; ticker
: string
; type
: "CryptoCurrency"
}, { color
: string
; decimals
: number
; family
: "bitcoin"
| "ethereum"
| "algorand"
| "crypto_org"
| "ripple"
| "cosmos"
| "filecoin"
| "tezos"
| "polkadot"
| "stellar"
| "tron"
; id
: string
; name
: string
; ticker
: string
; type
: "CryptoCurrency"
}> | z.ZodObject
<z.extendShape
<z.extendShape
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, { parent
: z.ZodString
; type
: z.ZodLiteral
<"TokenCurrency"
> }>, { contract
: z.ZodString
; standard
: z.ZodEnum
<["ERC20"
]> }>, "strip"
, z.ZodTypeAny
, { color
: string
; contract
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; standard
: "ERC20"
; ticker
: string
; type
: "TokenCurrency"
}, { color
: string
; contract
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; standard
: "ERC20"
; ticker
: string
; type
: "TokenCurrency"
}>>
Defined in
packages/core/lib/currencies/validation.d.ts:108
schemaCurrencyList
• Const
schemaCurrencyList: Object
Type declaration
Name | Type |
---|---|
params | z.ZodOptional <z.ZodObject <{ currencyIds : z.ZodOptional <z.ZodArray <z.ZodString , "many" >> }, "strip" , z.ZodTypeAny , { currencyIds? : string [] }, { currencyIds? : string [] }>> |
result | z.ZodObject <{ currencies : z.ZodArray <z.ZodDiscriminatedUnion <"type" , z.Primitive , z.ZodObject <z.extendShape <{ color : z.ZodString ; decimals : z.ZodNumber ; id : z.ZodString ; name : z.ZodString ; ticker : z.ZodString }, { family : z.ZodEnum <["bitcoin" , "ethereum" , "algorand" , "crypto_org" , "ripple" , "cosmos" , "ripple" , "cosmos" , "filecoin" , "tezos" , "polkadot" , "stellar" , "tron" ]> ; type : z.ZodLiteral <"CryptoCurrency" > }>, "strip" , z.ZodTypeAny , { color : string ; decimals : number ; family : "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" ; id : string ; name : string ; ticker : string ; type : "CryptoCurrency" }, { color : string ; decimals : number ; family : "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" ; id : string ; name : string ; ticker : string ; type : "CryptoCurrency" }> | z.ZodObject <z.extendShape <z.extendShape <{ color : z.ZodString ; decimals : z.ZodNumber ; id : z.ZodString ; name : z.ZodString ; ticker : z.ZodString }, { parent : z.ZodString ; type : z.ZodLiteral <"TokenCurrency" > }>, { contract : z.ZodString ; standard : z.ZodEnum <["ERC20" ]> }>, "strip" , z.ZodTypeAny , { color : string ; contract : string ; decimals : number ; id : string ; name : string ; parent : string ; standard : "ERC20" ; ticker : string ; type : "TokenCurrency" }, { color : string ; contract : string ; decimals : number ; id : string ; name : string ; parent : string ; standard : "ERC20" ; ticker : string ; type : "TokenCurrency" }>>, "many" > }, "strip" , z.ZodTypeAny , { currencies : ({ color : string ; decimals : number ; family : "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" ; id : string ; name : string ; ticker : string ; type : "CryptoCurrency" } | { color : string ; contract : string ; decimals : number ; id : string ; name : string ; parent : string ; standard : "ERC20" ; ticker : string ; type : "TokenCurrency" })[] }, { currencies : ({ color : string ; decimals : number ; family : "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" ; id : string ; name : string ; ticker : string ; type : "CryptoCurrency" } | { color : string ; contract : string ; decimals : number ; id : string ; name : string ; parent : string ; standard : "ERC20" ; ticker : string ; type : "TokenCurrency" })[] }> |
Defined in
packages/core/lib/spec/types/CurrencyList.d.ts:109
schemaCurrencyNotFound
• Const
schemaCurrencyNotFound: z.ZodObject
<{ code
: z.ZodLiteral
<"CURRENCY_NOT_FOUND"
> ; data
: z.ZodObject
<{ currencyId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { currencyId
: string
}, { currencyId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "CURRENCY_NOT_FOUND"
; data
: { currencyId
: string
} ; message
: string
}, { code
: "CURRENCY_NOT_FOUND"
; data
: { currencyId
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:52
schemaCurrencyType
• Const
schemaCurrencyType: z.ZodEnum
<["CryptoCurrency"
, "TokenCurrency"
]>
Defined in
packages/core/lib/currencies/validation.d.ts:2
schemaDeviceClose
• Const
schemaDeviceClose: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ transportId : z.ZodString }, "strip" , z.ZodTypeAny , { transportId : string }, { transportId : string }> |
result | z.ZodObject <{ transportId : z.ZodString }, "strip" , z.ZodTypeAny , { transportId : string }, { transportId : string }> |
Defined in
packages/core/lib/spec/types/DeviceClose.d.ts:16
schemaDeviceExchange
• Const
schemaDeviceExchange: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ apduHex : z.ZodString ; transportId : z.ZodString }, "strip" , z.ZodTypeAny , { apduHex : string ; transportId : string }, { apduHex : string ; transportId : string }> |
result | z.ZodObject <{ responseHex : z.ZodString }, "strip" , z.ZodTypeAny , { responseHex : string }, { responseHex : string }> |
Defined in
packages/core/lib/spec/types/DeviceExchange.d.ts:19
schemaDeviceTransport
• Const
schemaDeviceTransport: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ appName : z.ZodOptional <z.ZodString > ; appVersionRange : z.ZodOptional <z.ZodString > ; devices : z.ZodOptional <z.ZodArray <z.ZodEnum <["blue" , "nanoS" , "nanoSP" , "nanoX" , "stax" ]>, "atleastone" >> ; firmwareVersionRange : z.ZodOptional <z.ZodString > ; seeded : z.ZodOptional <z.ZodBoolean > }, "strip" , z.ZodTypeAny , { appName? : string ; appVersionRange? : string ; devices? : ["blue" | "nanoS" | "nanoSP" | "nanoX" | "stax" , ...("blue" | "nanoS" | "nanoSP" | "nanoX" | "stax")[]] ; firmwareVersionRange? : string ; seeded? : boolean }, { appName? : string ; appVersionRange? : string ; devices? : ["blue" | "nanoS" | "nanoSP" | "nanoX" | "stax" , ...("blue" | "nanoS" | "nanoSP" | "nanoX" | "stax")[]] ; firmwareVersionRange? : string ; seeded? : boolean }> |
result | z.ZodObject <{ transportId : z.ZodString }, "strip" , z.ZodTypeAny , { transportId : string }, { transportId : string }> |
Defined in
packages/core/lib/spec/types/DeviceTransport.d.ts:45
schemaERC20TokenCurrency
• Const
schemaERC20TokenCurrency: z.ZodObject
<z.extendShape
<z.extendShape
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, { parent
: z.ZodString
; type
: z.ZodLiteral
<"TokenCurrency"
> }>, { contract
: z.ZodString
; standard
: z.ZodEnum
<["ERC20"
]> }>, "strip"
, z.ZodTypeAny
, { color
: string
; contract
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; standard
: "ERC20"
; ticker
: string
; type
: "TokenCurrency"
}, { color
: string
; contract
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; standard
: "ERC20"
; ticker
: string
; type
: "TokenCurrency"
}>
Defined in
packages/core/lib/currencies/validation.d.ts:75
schemaExchangeComplete
• Const
schemaExchangeComplete: Object
Type declaration
Name | Type |
---|---|
params | z.ZodDiscriminatedUnion <"exchangeType" , z.Primitive , z.ZodObject <z.extendShape <{ feeStrategy : z.ZodEnum <["SLOW" , "MEDIUM" , "FAST" ]> ; fromAccountId : z.ZodString ; hexBinaryPayload : z.ZodString ; hexSignature : z.ZodString ; provider : z.ZodString ; rawTransaction : z.ZodDiscriminatedUnion <"family" , z.Primitive , z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { assetId : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"algorand" > ; fees : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "optIn" , "claimReward" , "optOut" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }, { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"bitcoin" > ; feePerByte : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }, { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"cosmos" > ; fees : z.ZodOptional <z.ZodString > ; gas : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" , "redelegate" , "claimReward" , "claimRewardCompound" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }, { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"crypto_org" > ; fees : z.ZodOptional <z.ZodString > ; mode : z.ZodString }>, "strip" , z.ZodTypeAny , { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }, { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { data : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"ethereum" > ; gasLimit : z.ZodOptional <z.ZodString > ; gasPrice : z.ZodOptional <z.ZodString > ; nonce : z.ZodOptional <z.ZodNumber > }>, "strip" , z.ZodTypeAny , { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }, { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"filecoin" > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "filecoin" ; recipient : string }, { amount : string ; family : "filecoin" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { era : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"polkadot" > ; fee : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "bond" , "unbond" , "rebond" , "withdrawUnbonded" , "setController" , "nominate" , "chill" , "claimReward" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }, { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"ripple" > ; fee : z.ZodOptional <z.ZodString > ; tag : z.ZodNumber }>, "strip" , z.ZodTypeAny , { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }, { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"stellar" > ; fees : z.ZodOptional <z.ZodString > ; memoType : z.ZodOptional <z.ZodString > ; memoValue : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }, { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"tezos" > ; fees : z.ZodOptional <z.ZodString > ; gasLimit : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }, { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { duration : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"tron" > ; mode : z.ZodEnum <["send" , "freeze" , "unfreeze" , "vote" , "claimReward" ]> ; resource : z.ZodOptional <z.ZodEnum <["BANDWIDTH" , "ENERGY" ]>> }>, "strip" , z.ZodTypeAny , { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }, { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }>> }, { exchangeType : z.ZodLiteral <"FUND" > }>, "strip" , z.ZodTypeAny , { exchangeType : "FUND" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }, { exchangeType : "FUND" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }> | z.ZodObject <z.extendShape <{ feeStrategy : z.ZodEnum <["SLOW" , "MEDIUM" , "FAST" ]> ; fromAccountId : z.ZodString ; hexBinaryPayload : z.ZodString ; hexSignature : z.ZodString ; provider : z.ZodString ; rawTransaction : z.ZodDiscriminatedUnion <"family" , z.Primitive , z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { assetId : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"algorand" > ; fees : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "optIn" , "claimReward" , "optOut" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }, { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"bitcoin" > ; feePerByte : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }, { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"cosmos" > ; fees : z.ZodOptional <z.ZodString > ; gas : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" , "redelegate" , "claimReward" , "claimRewardCompound" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }, { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"crypto_org" > ; fees : z.ZodOptional <z.ZodString > ; mode : z.ZodString }>, "strip" , z.ZodTypeAny , { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }, { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { data : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"ethereum" > ; gasLimit : z.ZodOptional <z.ZodString > ; gasPrice : z.ZodOptional <z.ZodString > ; nonce : z.ZodOptional <z.ZodNumber > }>, "strip" , z.ZodTypeAny , { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }, { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"filecoin" > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "filecoin" ; recipient : string }, { amount : string ; family : "filecoin" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { era : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"polkadot" > ; fee : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "bond" , "unbond" , "rebond" , "withdrawUnbonded" , "setController" , "nominate" , "chill" , "claimReward" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }, { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"ripple" > ; fee : z.ZodOptional <z.ZodString > ; tag : z.ZodNumber }>, "strip" , z.ZodTypeAny , { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }, { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"stellar" > ; fees : z.ZodOptional <z.ZodString > ; memoType : z.ZodOptional <z.ZodString > ; memoValue : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }, { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"tezos" > ; fees : z.ZodOptional <z.ZodString > ; gasLimit : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }, { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { duration : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"tron" > ; mode : z.ZodEnum <["send" , "freeze" , "unfreeze" , "vote" , "claimReward" ]> ; resource : z.ZodOptional <z.ZodEnum <["BANDWIDTH" , "ENERGY" ]>> }>, "strip" , z.ZodTypeAny , { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }, { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }>> }, { exchangeType : z.ZodLiteral <"SELL" > }>, "strip" , z.ZodTypeAny , { exchangeType : "SELL" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }, { exchangeType : "SELL" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }> | z.ZodObject <z.extendShape <{ feeStrategy : z.ZodEnum <["SLOW" , "MEDIUM" , "FAST" ]> ; fromAccountId : z.ZodString ; hexBinaryPayload : z.ZodString ; hexSignature : z.ZodString ; provider : z.ZodString ; rawTransaction : z.ZodDiscriminatedUnion <"family" , z.Primitive , z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { assetId : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"algorand" > ; fees : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "optIn" , "claimReward" , "optOut" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }, { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"bitcoin" > ; feePerByte : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }, { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"cosmos" > ; fees : z.ZodOptional <z.ZodString > ; gas : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" , "redelegate" , "claimReward" , "claimRewardCompound" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }, { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"crypto_org" > ; fees : z.ZodOptional <z.ZodString > ; mode : z.ZodString }>, "strip" , z.ZodTypeAny , { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }, { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { data : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"ethereum" > ; gasLimit : z.ZodOptional <z.ZodString > ; gasPrice : z.ZodOptional <z.ZodString > ; nonce : z.ZodOptional <z.ZodNumber > }>, "strip" , z.ZodTypeAny , { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }, { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"filecoin" > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "filecoin" ; recipient : string }, { amount : string ; family : "filecoin" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { era : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"polkadot" > ; fee : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "bond" , "unbond" , "rebond" , "withdrawUnbonded" , "setController" , "nominate" , "chill" , "claimReward" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }, { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"ripple" > ; fee : z.ZodOptional <z.ZodString > ; tag : z.ZodNumber }>, "strip" , z.ZodTypeAny , { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }, { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"stellar" > ; fees : z.ZodOptional <z.ZodString > ; memoType : z.ZodOptional <z.ZodString > ; memoValue : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }, { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"tezos" > ; fees : z.ZodOptional <z.ZodString > ; gasLimit : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }, { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { duration : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"tron" > ; mode : z.ZodEnum <["send" , "freeze" , "unfreeze" , "vote" , "claimReward" ]> ; resource : z.ZodOptional <z.ZodEnum <["BANDWIDTH" , "ENERGY" ]>> }>, "strip" , z.ZodTypeAny , { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }, { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }>> }, { exchangeType : z.ZodLiteral <"SWAP" > ; toAccountId : z.ZodString }>, "strip" , z.ZodTypeAny , { exchangeType : "SWAP" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } ; toAccountId : string }, { exchangeType : "SWAP" ; feeStrategy : "SLOW" | "MEDIUM" | "FAST" ; fromAccountId : string ; hexBinaryPayload : string ; hexSignature : string ; provider : string ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } ; toAccountId : string }>> |
result | z.ZodObject <{ transactionHash : z.ZodString }, "strip" , z.ZodTypeAny , { transactionHash : string }, { transactionHash : string }> |
Defined in
packages/core/lib/spec/types/ExchangeComplete.d.ts:1216
schemaExchangeStart
• Const
schemaExchangeStart: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ exchangeType : z.ZodEnum <["SWAP" , "SELL" , "FUND" ]> }, "strip" , z.ZodTypeAny , { exchangeType : "FUND" | "SELL" | "SWAP" }, { exchangeType : "FUND" | "SELL" | "SWAP" }> |
result | z.ZodObject <{ transactionId : z.ZodString }, "strip" , z.ZodTypeAny , { transactionId : string }, { transactionId : string }> |
Defined in
packages/core/lib/spec/types/ExchangeStart.d.ts:16
schemaFamilies
• Const
schemaFamilies: z.ZodEnum
<["bitcoin"
, "ethereum"
, "algorand"
, "crypto_org"
, "ripple"
, "cosmos"
, "ripple"
, "cosmos"
, "filecoin"
, "tezos"
, "polkadot"
, "stellar"
, "tron"
]>
Defined in
packages/core/lib/families/common.d.ts:13
schemaMessageSign
• Const
schemaMessageSign: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ accountId : z.ZodString ; hexMessage : z.ZodString }, "strip" , z.ZodTypeAny , { accountId : string ; hexMessage : string }, { accountId : string ; hexMessage : string }> |
result | z.ZodObject <{ hexSignedMessage : z.ZodString }, "strip" , z.ZodTypeAny , { hexSignedMessage : string }, { hexSignedMessage : string }> |
Defined in
packages/core/lib/spec/types/MessageSign.d.ts:19
schemaNotImplementedByWallet
• Const
schemaNotImplementedByWallet: z.ZodObject
<{ code
: z.ZodLiteral
<"NOT_IMPLEMENTED_BY_WALLET"
> ; data
: z.ZodObject
<{ methodId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { methodId
: string
}, { methodId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "NOT_IMPLEMENTED_BY_WALLET"
; data
: { methodId
: string
} ; message
: string
}, { code
: "NOT_IMPLEMENTED_BY_WALLET"
; data
: { methodId
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:4
schemaPermissionDenied
• Const
schemaPermissionDenied: z.ZodObject
<{ code
: z.ZodLiteral
<"PERMISSION_DENIED"
> ; data
: z.ZodObject
<{ methodId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { methodId
: string
}, { methodId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "PERMISSION_DENIED"
; data
: { methodId
: string
} ; message
: string
}, { code
: "PERMISSION_DENIED"
; data
: { methodId
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:76
schemaRPCCall
• Const
schemaRPCCall: z.ZodUnion
<[z.ZodObject
<{ id
: z.ZodOptional
<z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]>> ; jsonrpc
: z.ZodLiteral
<"2.0"
> ; method
: z.ZodString
; params
: z.ZodAny
}, "strict"
, z.ZodTypeAny
, { id?
: string
| number
| null
; jsonrpc
: "2.0"
; method
: string
; params?
: any
}, { id?
: string
| number
| null
; jsonrpc
: "2.0"
; method
: string
; params?
: any
}>, z.ZodUnion
<[z.ZodObject
<{ error
: z.ZodObject
<{ code
: z.ZodNumber
; data
: z.ZodOptional
<z.ZodAny
> ; message
: z.ZodString
}, "strict"
, z.ZodTypeAny
, { code
: number
; data?
: any
; message
: string
}, { code
: number
; data?
: any
; message
: string
}> ; id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> }, "strict"
, z.ZodTypeAny
, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}>, z.ZodObject
<{ id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> ; result
: z.ZodObject
<{}, "passthrough"
, z.ZodTypeAny
, {}, {}> }, "strict"
, z.ZodTypeAny
, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }>]>]>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:122
schemaRPCMethod
• Const
schemaRPCMethod: z.ZodEnum
<["account.list"
, "account.receive"
, "account.request"
, "currency.list"
, "device.close"
, "device.exchange"
, "device.transport"
, "message.sign"
, "transaction.sign"
, "transaction.signAndBroadcast"
, "wallet.capabilities"
, "wallet.info"
, "wallet.userId"
]>
Defined in
packages/core/lib/spec/methods.d.ts:3
schemaRPCRequest
• Const
schemaRPCRequest: z.ZodObject
<{ id
: z.ZodOptional
<z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]>> ; jsonrpc
: z.ZodLiteral
<"2.0"
> ; method
: z.ZodString
; params
: z.ZodAny
}, "strict"
, z.ZodTypeAny
, { id?
: string
| number
| null
; jsonrpc
: "2.0"
; method
: string
; params?
: any
}, { id?
: string
| number
| null
; jsonrpc
: "2.0"
; method
: string
; params?
: any
}>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:2
schemaRPCResponse
• Const
schemaRPCResponse: z.ZodUnion
<[z.ZodObject
<{ error
: z.ZodObject
<{ code
: z.ZodNumber
; data
: z.ZodOptional
<z.ZodAny
> ; message
: z.ZodString
}, "strict"
, z.ZodTypeAny
, { code
: number
; data?
: any
; message
: string
}, { code
: number
; data?
: any
; message
: string
}> ; id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> }, "strict"
, z.ZodTypeAny
, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}>, z.ZodObject
<{ id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> ; result
: z.ZodObject
<{}, "passthrough"
, z.ZodTypeAny
, {}, {}> }, "strict"
, z.ZodTypeAny
, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }>]>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:77
schemaRPCResponseError
• Const
schemaRPCResponseError: z.ZodObject
<{ error
: z.ZodObject
<{ code
: z.ZodNumber
; data
: z.ZodOptional
<z.ZodAny
> ; message
: z.ZodString
}, "strict"
, z.ZodTypeAny
, { code
: number
; data?
: any
; message
: string
}, { code
: number
; data?
: any
; message
: string
}> ; id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> }, "strict"
, z.ZodTypeAny
, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}, { error
: { code
: number
; data?
: any
; message
: string
} ; id
: string
| number
| null
; jsonrpc
: "2.0"
}>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:44
schemaRPCResponseErrorData
• Const
schemaRPCResponseErrorData: z.ZodObject
<{ code
: z.ZodNumber
; data
: z.ZodOptional
<z.ZodAny
> ; message
: z.ZodString
}, "strict"
, z.ZodTypeAny
, { code
: number
; data?
: any
; message
: string
}, { code
: number
; data?
: any
; message
: string
}>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:18
schemaRPCResponseSuccess
• Const
schemaRPCResponseSuccess: z.ZodObject
<{ id
: z.ZodUnion
<[z.ZodString
, z.ZodNumber
, z.ZodNull
]> ; jsonrpc
: z.ZodLiteral
<"2.0"
> ; result
: z.ZodObject
<{}, "passthrough"
, z.ZodTypeAny
, {}, {}> }, "strict"
, z.ZodTypeAny
, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }, { id
: string
| number
| null
; jsonrpc
: "2.0"
; result
: {} }>
Defined in
packages/core/lib/JSONRPC/validation.d.ts:31
schemaRawAccount
• Const
schemaRawAccount: z.ZodObject
<{ address
: z.ZodString
; balance
: z.ZodString
; blockHeight
: z.ZodNumber
; currency
: z.ZodString
; id
: z.ZodString
; lastSyncDate
: z.ZodString
; name
: z.ZodString
; spendableBalance
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { address
: string
; balance
: string
; blockHeight
: number
; currency
: string
; id
: string
; lastSyncDate
: string
; name
: string
; spendableBalance
: string
}, { address
: string
; balance
: string
; blockHeight
: number
; currency
: string
; id
: string
; lastSyncDate
: string
; name
: string
; spendableBalance
: string
}>
Defined in
packages/core/lib/accounts/validation.d.ts:2
schemaRawTransaction
• Const
schemaRawTransaction: z.ZodDiscriminatedUnion
<"family"
, z.Primitive
, z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { assetId
: z.ZodOptional
<z.ZodString
> ; family
: z.ZodLiteral
<"algorand"
> ; fees
: z.ZodOptional
<z.ZodString
> ; memo
: z.ZodOptional
<z.ZodString
> ; mode
: z.ZodEnum
<["send"
, "optIn"
, "claimReward"
, "optOut"
]> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; assetId?
: string
; family
: "algorand"
; fees?
: string
; memo?
: string
; mode
: "send"
| "optIn"
| "claimReward"
| "optOut"
; recipient
: string
}, { amount
: string
; assetId?
: string
; family
: "algorand"
; fees?
: string
; memo?
: string
; mode
: "send"
| "optIn"
| "claimReward"
| "optOut"
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"bitcoin"
> ; feePerByte
: z.ZodOptional
<z.ZodString
> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "bitcoin"
; feePerByte?
: string
; recipient
: string
}, { amount
: string
; family
: "bitcoin"
; feePerByte?
: string
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"cosmos"
> ; fees
: z.ZodOptional
<z.ZodString
> ; gas
: z.ZodOptional
<z.ZodString
> ; memo
: z.ZodOptional
<z.ZodString
> ; mode
: z.ZodEnum
<["send"
, "delegate"
, "undelegate"
, "redelegate"
, "claimReward"
, "claimRewardCompound"
]> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "cosmos"
; fees?
: string
; gas?
: string
; memo?
: string
; mode
: "send"
| "claimReward"
| "delegate"
| "undelegate"
| "redelegate"
| "claimRewardCompound"
; recipient
: string
}, { amount
: string
; family
: "cosmos"
; fees?
: string
; gas?
: string
; memo?
: string
; mode
: "send"
| "claimReward"
| "delegate"
| "undelegate"
| "redelegate"
| "claimRewardCompound"
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"crypto_org"
> ; fees
: z.ZodOptional
<z.ZodString
> ; mode
: z.ZodString
}>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "crypto_org"
; fees?
: string
; mode
: string
; recipient
: string
}, { amount
: string
; family
: "crypto_org"
; fees?
: string
; mode
: string
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { data
: z.ZodOptional
<z.ZodString
> ; family
: z.ZodLiteral
<"ethereum"
> ; gasLimit
: z.ZodOptional
<z.ZodString
> ; gasPrice
: z.ZodOptional
<z.ZodString
> ; nonce
: z.ZodOptional
<z.ZodNumber
> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; data?
: string
; family
: "ethereum"
; gasLimit?
: string
; gasPrice?
: string
; nonce?
: number
; recipient
: string
}, { amount
: string
; data?
: string
; family
: "ethereum"
; gasLimit?
: string
; gasPrice?
: string
; nonce?
: number
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"filecoin"
> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "filecoin"
; recipient
: string
}, { amount
: string
; family
: "filecoin"
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { era
: z.ZodOptional
<z.ZodNumber
> ; family
: z.ZodLiteral
<"polkadot"
> ; fee
: z.ZodOptional
<z.ZodString
> ; mode
: z.ZodEnum
<["send"
, "bond"
, "unbond"
, "rebond"
, "withdrawUnbonded"
, "setController"
, "nominate"
, "chill"
, "claimReward"
]> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; era?
: number
; family
: "polkadot"
; fee?
: string
; mode
: "send"
| "claimReward"
| "bond"
| "unbond"
| "rebond"
| "withdrawUnbonded"
| "setController"
| "nominate"
| "chill"
; recipient
: string
}, { amount
: string
; era?
: number
; family
: "polkadot"
; fee?
: string
; mode
: "send"
| "claimReward"
| "bond"
| "unbond"
| "rebond"
| "withdrawUnbonded"
| "setController"
| "nominate"
| "chill"
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"ripple"
> ; fee
: z.ZodOptional
<z.ZodString
> ; tag
: z.ZodNumber
}>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "ripple"
; fee?
: string
; recipient
: string
; tag
: number
}, { amount
: string
; family
: "ripple"
; fee?
: string
; recipient
: string
; tag
: number
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"stellar"
> ; fees
: z.ZodOptional
<z.ZodString
> ; memoType
: z.ZodOptional
<z.ZodString
> ; memoValue
: z.ZodOptional
<z.ZodString
> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "stellar"
; fees?
: string
; memoType?
: string
; memoValue?
: string
; recipient
: string
}, { amount
: string
; family
: "stellar"
; fees?
: string
; memoType?
: string
; memoValue?
: string
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { family
: z.ZodLiteral
<"tezos"
> ; fees
: z.ZodOptional
<z.ZodString
> ; gasLimit
: z.ZodOptional
<z.ZodString
> ; mode
: z.ZodEnum
<["send"
, "delegate"
, "undelegate"
]> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; family
: "tezos"
; fees?
: string
; gasLimit?
: string
; mode
: "send"
| "delegate"
| "undelegate"
; recipient
: string
}, { amount
: string
; family
: "tezos"
; fees?
: string
; gasLimit?
: string
; mode
: "send"
| "delegate"
| "undelegate"
; recipient
: string
}> | z.ZodObject
<z.extendShape
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, { duration
: z.ZodOptional
<z.ZodNumber
> ; family
: z.ZodLiteral
<"tron"
> ; mode
: z.ZodEnum
<["send"
, "freeze"
, "unfreeze"
, "vote"
, "claimReward"
]> ; resource
: z.ZodOptional
<z.ZodEnum
<["BANDWIDTH"
, "ENERGY"
]>> }>, "strip"
, z.ZodTypeAny
, { amount
: string
; duration?
: number
; family
: "tron"
; mode
: "send"
| "claimReward"
| "freeze"
| "unfreeze"
| "vote"
; recipient
: string
; resource?
: "BANDWIDTH"
| "ENERGY"
}, { amount
: string
; duration?
: number
; family
: "tron"
; mode
: "send"
| "claimReward"
| "freeze"
| "unfreeze"
| "vote"
; recipient
: string
; resource?
: "BANDWIDTH"
| "ENERGY"
}>>
Defined in
packages/core/lib/families/validation.d.ts:2
schemaServerErrorCode
• Const
schemaServerErrorCode: z.ZodEnum
<["NOT_IMPLEMENTED_BY_WALLET"
, "ACCOUNT_NOT_FOUND"
, "CURRENCY_NOT_FOUND"
, "PERMISSION_DENIED"
, "UNKNOWN_ERROR"
, "UNAUTHORIZED_STORE"
]>
Defined in
packages/core/lib/errors/types.d.ts:2
schemaServerErrorData
• Const
schemaServerErrorData: z.ZodDiscriminatedUnion
<"code"
, z.Primitive
, z.ZodObject
<{ code
: z.ZodLiteral
<"NOT_IMPLEMENTED_BY_WALLET"
> ; data
: z.ZodObject
<{ methodId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { methodId
: string
}, { methodId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "NOT_IMPLEMENTED_BY_WALLET"
; data
: { methodId
: string
} ; message
: string
}, { code
: "NOT_IMPLEMENTED_BY_WALLET"
; data
: { methodId
: string
} ; message
: string
}> | z.ZodObject
<{ code
: z.ZodLiteral
<"ACCOUNT_NOT_FOUND"
> ; data
: z.ZodObject
<{ accountId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { accountId
: string
}, { accountId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "ACCOUNT_NOT_FOUND"
; data
: { accountId
: string
} ; message
: string
}, { code
: "ACCOUNT_NOT_FOUND"
; data
: { accountId
: string
} ; message
: string
}> | z.ZodObject
<{ code
: z.ZodLiteral
<"CURRENCY_NOT_FOUND"
> ; data
: z.ZodObject
<{ currencyId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { currencyId
: string
}, { currencyId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "CURRENCY_NOT_FOUND"
; data
: { currencyId
: string
} ; message
: string
}, { code
: "CURRENCY_NOT_FOUND"
; data
: { currencyId
: string
} ; message
: string
}> | z.ZodObject
<{ code
: z.ZodLiteral
<"PERMISSION_DENIED"
> ; data
: z.ZodObject
<{ methodId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { methodId
: string
}, { methodId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "PERMISSION_DENIED"
; data
: { methodId
: string
} ; message
: string
}, { code
: "PERMISSION_DENIED"
; data
: { methodId
: string
} ; message
: string
}> | z.ZodObject
<{ code
: z.ZodLiteral
<"UNKNOWN_ERROR"
> ; data
: z.ZodObject
<{ cause
: z.ZodOptional
<z.ZodUnknown
> ; code
: z.ZodOptional
<z.ZodString
> ; message
: z.ZodOptional
<z.ZodString
> ; name
: z.ZodOptional
<z.ZodString
> ; stack
: z.ZodOptional
<z.ZodString
> }, "strip"
, z.ZodTypeAny
, { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
}, { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "UNKNOWN_ERROR"
; data
: { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
} ; message
: string
}, { code
: "UNKNOWN_ERROR"
; data
: { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
} ; message
: string
}> | z.ZodObject
<{ code
: z.ZodLiteral
<"UNAUTHORIZED_STORE"
> ; data
: z.ZodObject
<{ storeId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { storeId
: string
}, { storeId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "UNAUTHORIZED_STORE"
; data
: { storeId
: string
} ; message
: string
}, { code
: "UNAUTHORIZED_STORE"
; data
: { storeId
: string
} ; message
: string
}>>
Defined in
packages/core/lib/errors/types.d.ts:168
schemaStorageGet
• Const
schemaStorageGet: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ key : z.ZodString ; storeId : z.ZodOptional <z.ZodString > }, "strip" , z.ZodTypeAny , { key : string ; storeId? : string }, { key : string ; storeId? : string }> |
result | z.ZodObject <{ value : z.ZodOptional <z.ZodString > }, "strip" , z.ZodTypeAny , { value? : string }, { value? : string }> |
Defined in
packages/core/lib/spec/types/StorageGet.d.ts:19
schemaStorageSet
• Const
schemaStorageSet: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ key : z.ZodString ; storeId : z.ZodOptional <z.ZodString > ; value : z.ZodString }, "strip" , z.ZodTypeAny , { key : string ; storeId? : string ; value : string }, { key : string ; storeId? : string ; value : string }> |
result | z.ZodVoid |
Defined in
packages/core/lib/spec/types/StorageSet.d.ts:16
schemaTokenCurrency
• Const
schemaTokenCurrency: z.ZodObject
<z.extendShape
<{ color
: z.ZodString
; decimals
: z.ZodNumber
; id
: z.ZodString
; name
: z.ZodString
; ticker
: z.ZodString
}, { parent
: z.ZodString
; type
: z.ZodLiteral
<"TokenCurrency"
> }>, "strip"
, z.ZodTypeAny
, { color
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; ticker
: string
; type
: "TokenCurrency"
}, { color
: string
; decimals
: number
; id
: string
; name
: string
; parent
: string
; ticker
: string
; type
: "TokenCurrency"
}>
Defined in
packages/core/lib/currencies/validation.d.ts:49
schemaTokenStandard
• Const
schemaTokenStandard: z.ZodEnum
<["ERC20"
]>
Defined in
packages/core/lib/currencies/validation.d.ts:3
schemaTransactionCommon
• Const
schemaTransactionCommon: z.ZodObject
<{ amount
: z.ZodString
; recipient
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { amount
: string
; recipient
: string
}, { amount
: string
; recipient
: string
}>
Defined in
packages/core/lib/families/common.d.ts:2
schemaTransactionSign
• Const
schemaTransactionSign: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ accountId : z.ZodString ; options : z.ZodOptional <z.ZodObject <{ hwAppId : z.ZodOptional <z.ZodString > }, "strip" , z.ZodTypeAny , { hwAppId? : string }, { hwAppId? : string }>> ; rawTransaction : z.ZodDiscriminatedUnion <"family" , z.Primitive , z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { assetId : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"algorand" > ; fees : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "optIn" , "claimReward" , "optOut" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }, { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"bitcoin" > ; feePerByte : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }, { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"cosmos" > ; fees : z.ZodOptional <z.ZodString > ; gas : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" , "redelegate" , "claimReward" , "claimRewardCompound" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }, { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"crypto_org" > ; fees : z.ZodOptional <z.ZodString > ; mode : z.ZodString }>, "strip" , z.ZodTypeAny , { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }, { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { data : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"ethereum" > ; gasLimit : z.ZodOptional <z.ZodString > ; gasPrice : z.ZodOptional <z.ZodString > ; nonce : z.ZodOptional <z.ZodNumber > }>, "strip" , z.ZodTypeAny , { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }, { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"filecoin" > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "filecoin" ; recipient : string }, { amount : string ; family : "filecoin" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { era : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"polkadot" > ; fee : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "bond" , "unbond" , "rebond" , "withdrawUnbonded" , "setController" , "nominate" , "chill" , "claimReward" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }, { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"ripple" > ; fee : z.ZodOptional <z.ZodString > ; tag : z.ZodNumber }>, "strip" , z.ZodTypeAny , { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }, { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"stellar" > ; fees : z.ZodOptional <z.ZodString > ; memoType : z.ZodOptional <z.ZodString > ; memoValue : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }, { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"tezos" > ; fees : z.ZodOptional <z.ZodString > ; gasLimit : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }, { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { duration : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"tron" > ; mode : z.ZodEnum <["send" , "freeze" , "unfreeze" , "vote" , "claimReward" ]> ; resource : z.ZodOptional <z.ZodEnum <["BANDWIDTH" , "ENERGY" ]>> }>, "strip" , z.ZodTypeAny , { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }, { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }>> }, "strip" , z.ZodTypeAny , { accountId : string ; options? : { hwAppId? : string } ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }, { accountId : string ; options? : { hwAppId? : string } ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }> |
result | z.ZodObject <{ signedTransactionHex : z.ZodString }, "strip" , z.ZodTypeAny , { signedTransactionHex : string }, { signedTransactionHex : string }> |
Defined in
packages/core/lib/spec/types/TransactionSign.d.ts:408
schemaTransactionSignAndBroadcast
• Const
schemaTransactionSignAndBroadcast: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{ accountId : z.ZodString ; options : z.ZodOptional <z.ZodObject <{ hwAppId : z.ZodOptional <z.ZodString > }, "strip" , z.ZodTypeAny , { hwAppId? : string }, { hwAppId? : string }>> ; rawTransaction : z.ZodDiscriminatedUnion <"family" , z.Primitive , z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { assetId : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"algorand" > ; fees : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "optIn" , "claimReward" , "optOut" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }, { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"bitcoin" > ; feePerByte : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }, { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"cosmos" > ; fees : z.ZodOptional <z.ZodString > ; gas : z.ZodOptional <z.ZodString > ; memo : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" , "redelegate" , "claimReward" , "claimRewardCompound" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }, { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"crypto_org" > ; fees : z.ZodOptional <z.ZodString > ; mode : z.ZodString }>, "strip" , z.ZodTypeAny , { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }, { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { data : z.ZodOptional <z.ZodString > ; family : z.ZodLiteral <"ethereum" > ; gasLimit : z.ZodOptional <z.ZodString > ; gasPrice : z.ZodOptional <z.ZodString > ; nonce : z.ZodOptional <z.ZodNumber > }>, "strip" , z.ZodTypeAny , { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }, { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"filecoin" > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "filecoin" ; recipient : string }, { amount : string ; family : "filecoin" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { era : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"polkadot" > ; fee : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "bond" , "unbond" , "rebond" , "withdrawUnbonded" , "setController" , "nominate" , "chill" , "claimReward" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }, { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"ripple" > ; fee : z.ZodOptional <z.ZodString > ; tag : z.ZodNumber }>, "strip" , z.ZodTypeAny , { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }, { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"stellar" > ; fees : z.ZodOptional <z.ZodString > ; memoType : z.ZodOptional <z.ZodString > ; memoValue : z.ZodOptional <z.ZodString > }>, "strip" , z.ZodTypeAny , { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }, { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { family : z.ZodLiteral <"tezos" > ; fees : z.ZodOptional <z.ZodString > ; gasLimit : z.ZodOptional <z.ZodString > ; mode : z.ZodEnum <["send" , "delegate" , "undelegate" ]> }>, "strip" , z.ZodTypeAny , { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }, { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string }> | z.ZodObject <z.extendShape <{ amount : z.ZodString ; recipient : z.ZodString }, { duration : z.ZodOptional <z.ZodNumber > ; family : z.ZodLiteral <"tron" > ; mode : z.ZodEnum <["send" , "freeze" , "unfreeze" , "vote" , "claimReward" ]> ; resource : z.ZodOptional <z.ZodEnum <["BANDWIDTH" , "ENERGY" ]>> }>, "strip" , z.ZodTypeAny , { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }, { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" }>> }, "strip" , z.ZodTypeAny , { accountId : string ; options? : { hwAppId? : string } ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }, { accountId : string ; options? : { hwAppId? : string } ; rawTransaction : { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } }> |
result | z.ZodObject <{ transactionHash : z.ZodString }, "strip" , z.ZodTypeAny , { transactionHash : string }, { transactionHash : string }> |
Defined in
packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:408
schemaUnauthorizedStore
• Const
schemaUnauthorizedStore: z.ZodObject
<{ code
: z.ZodLiteral
<"UNAUTHORIZED_STORE"
> ; data
: z.ZodObject
<{ storeId
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { storeId
: string
}, { storeId
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "UNAUTHORIZED_STORE"
; data
: { storeId
: string
} ; message
: string
}, { code
: "UNAUTHORIZED_STORE"
; data
: { storeId
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:144
schemaUnknownError
• Const
schemaUnknownError: z.ZodObject
<{ code
: z.ZodLiteral
<"UNKNOWN_ERROR"
> ; data
: z.ZodObject
<{ cause
: z.ZodOptional
<z.ZodUnknown
> ; code
: z.ZodOptional
<z.ZodString
> ; message
: z.ZodOptional
<z.ZodString
> ; name
: z.ZodOptional
<z.ZodString
> ; stack
: z.ZodOptional
<z.ZodString
> }, "strip"
, z.ZodTypeAny
, { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
}, { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
}> ; message
: z.ZodString
}, "strip"
, z.ZodTypeAny
, { code
: "UNKNOWN_ERROR"
; data
: { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
} ; message
: string
}, { code
: "UNKNOWN_ERROR"
; data
: { cause?
: unknown
; code?
: string
; message?
: string
; name?
: string
; stack?
: string
} ; message
: string
}>
Defined in
packages/core/lib/errors/types.d.ts:100
schemaWalletCapabilities
• Const
schemaWalletCapabilities: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{}, "strip" , z.ZodTypeAny , {}, {}> |
result | z.ZodObject <{ methodIds : z.ZodArray <z.ZodString , "many" > }, "strip" , z.ZodTypeAny , { methodIds : string [] }, { methodIds : string [] }> |
Defined in
packages/core/lib/spec/types/WalletCapabilities.d.ts:10
schemaWalletInfo
• Const
schemaWalletInfo: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{}, "strip" , z.ZodTypeAny , {}, {}> |
result | z.ZodObject <{ tracking : z.ZodBoolean ; wallet : z.ZodObject <{ name : z.ZodString ; version : z.ZodString }, "strip" , z.ZodTypeAny , { name : string ; version : string }, { name : string ; version : string }> }, "strip" , z.ZodTypeAny , { tracking : boolean ; wallet : { name : string ; version : string } }, { tracking : boolean ; wallet : { name : string ; version : string } }> |
Defined in
packages/core/lib/spec/types/WalletInfo.d.ts:28
schemaWalletUserId
• Const
schemaWalletUserId: Object
Type declaration
Name | Type |
---|---|
params | z.ZodObject <{}, "strip" , z.ZodTypeAny , {}, {}> |
result | z.ZodObject <{ userId : z.ZodString }, "strip" , z.ZodTypeAny , { userId : string }, { userId : string }> |
Defined in
packages/core/lib/spec/types/WalletUserId.d.ts:10
Functions
createAccountNotFound
▸ createAccountNotFound(accountId
): AccountNotFound
Parameters
Name | Type |
---|---|
accountId | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:5
createCurrencyNotFound
▸ createCurrencyNotFound(currencyId
): CurrencyNotFound
Parameters
Name | Type |
---|---|
currencyId | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:4
createNotImplementedByWallet
▸ createNotImplementedByWallet(methodId
): NotImplementedByWallet
Parameters
Name | Type |
---|---|
methodId | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:2
createPermissionDenied
▸ createPermissionDenied(methodId
): PermissionDenied
Parameters
Name | Type |
---|---|
methodId | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:3
createRpcRequest
▸ createRpcRequest<T
>(params
): RpcRequest
<string
, T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
params | CreateRpcRequestParams <T > |
Returns
RpcRequest
<string
, T
>
Defined in
packages/core/lib/JSONRPC/helpers.d.ts:8
createRpcResponse
▸ createRpcResponse<T
, E
>(params
): RpcResponse
<T
, E
>
Type parameters
Name |
---|
T |
E |
Parameters
Name | Type |
---|---|
params | CreateRpcResponseParams <T , E > |
Returns
RpcResponse
<T
, E
>
Defined in
packages/core/lib/JSONRPC/helpers.d.ts:16
createUnauthorizedStore
▸ createUnauthorizedStore(storeId
): UnauthorizedStore
Parameters
Name | Type |
---|---|
storeId | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:7
createUnknownError
▸ createUnknownError(error
): UnknownError
Parameters
Name | Type |
---|---|
error | Object |
error.cause? | unknown |
error.code? | string |
error.message? | string |
error.name? | string |
error.stack? | string |
Returns
Defined in
packages/core/lib/errors/creators.d.ts:6
deserializeAccount
▸ deserializeAccount(rawAccount
): Account
Deserialize a RawAccount object after it has been received over JSON-RPC protocol from the Ledger Live platform
Parameters
Name | Type | Description |
---|---|---|
rawAccount | Object | The raw account representation to deserialize |
rawAccount.address | string | - |
rawAccount.balance | string | - |
rawAccount.blockHeight | number | - |
rawAccount.currency | string | - |
rawAccount.id | string | - |
rawAccount.lastSyncDate | string | - |
rawAccount.name | string | - |
rawAccount.spendableBalance | string | - |
Returns
The object account of the provided raw account representation
Defined in
packages/core/lib/accounts/serializers.d.ts:17
deserializeTransaction
▸ deserializeTransaction(rawTransaction
): Transaction
Deserialize a RawTransaction object after it has been received over JSON-RPC protocol from the Ledger Live platform
Parameters
Name | Type | Description |
---|---|---|
rawTransaction | { amount : string ; assetId? : string ; family : "algorand" ; fees? : string ; memo? : string ; mode : "send" | "optIn" | "claimReward" | "optOut" ; recipient : string } | { amount : string ; family : "bitcoin" ; feePerByte? : string ; recipient : string } | { amount : string ; family : "cosmos" ; fees? : string ; gas? : string ; memo? : string ; mode : "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" ; recipient : string } | { amount : string ; family : "crypto_org" ; fees? : string ; mode : string ; recipient : string } | { amount : string ; data? : string ; family : "ethereum" ; gasLimit? : string ; gasPrice? : string ; nonce? : number ; recipient : string } | { amount : string ; family : "filecoin" ; recipient : string } | { amount : string ; era? : number ; family : "polkadot" ; fee? : string ; mode : "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" ; recipient : string } | { amount : string ; family : "ripple" ; fee? : string ; recipient : string ; tag : number } | { amount : string ; family : "stellar" ; fees? : string ; memoType? : string ; memoValue? : string ; recipient : string } | { amount : string ; family : "tezos" ; fees? : string ; gasLimit? : string ; mode : "send" | "delegate" | "undelegate" ; recipient : string } | { amount : string ; duration? : number ; family : "tron" ; mode : "send" | "claimReward" | "freeze" | "unfreeze" | "vote" ; recipient : string ; resource? : "BANDWIDTH" | "ENERGY" } | The raw transaction representation to deserialize |
Returns
The object transaction of the provided raw transaction representation
Defined in
packages/core/lib/families/serializer.d.ts:17
parseRPCCall
▸ parseRPCCall(data
): RpcRequest
| RpcResponse
Parameters
Name | Type |
---|---|
data | string |
Returns
Defined in
packages/core/lib/JSONRPC/helpers.d.ts:2
serializeAccount
▸ serializeAccount(account
): RawAccount
Serialize an Account object in order to send it over JSON-RPC protocol to the Ledger Live platform
Parameters
Name | Type | Description |
---|---|---|
account | Account | The account object to serialize |
Returns
The raw representation of the provided account object
Defined in
packages/core/lib/accounts/serializers.d.ts:9
serializeTransaction
▸ serializeTransaction(transaction
): RawTransaction
Serialize an Transaction object in order to send it over JSON-RPC protocol to the Ledger Live platform
Parameters
Name | Type | Description |
---|---|---|
transaction | Transaction | The transaction object to serialize |
Returns
The raw representation of the provided transaction object
Defined in
packages/core/lib/families/serializer.d.ts:9