Skip to main content

@ledgerhq/wallet-api-client

Enumerations

Classes

Interfaces

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

NameTypeDescription
addressstringThe "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
balanceBigNumberThe total amount of assets that this account holds
blockHeightnumberTracks the current blockchain block height
currencystringThe associated cryptocurrency id of the Account
idstringThe unique identifier of this account used internally by Ledger Live software
lastSyncDateDateThe date of the last time a synchronization was performed. In other words, tracks how up-to-date the Account data is
namestringThe account’s name set by the user.
spendableBalanceBigNumberThe 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

NameType
paramsz.infer<typeof schemaAccountListParams>
resultz.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
NameType
paramsAccountList["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

NameType
paramsz.infer<typeof schemaAccountReceiveParams>
resultz.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
NameType
paramsAccountReceive["params"]
Returns

AccountReceive["result"]

Defined in

packages/core/lib/spec/types/AccountReceive.d.ts:36


AccountRequest

Ƭ AccountRequest: Object

Type declaration

NameType
paramsz.infer<typeof schemaAccountRequestParams>
resultz.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
NameType
paramsAccountRequest["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

NameTypeDescription
namestringName of the application
versionstringVersion of the application (SemVer)

Defined in

packages/core/lib/types/index.d.ts:63


BitcoinGetXPub

Ƭ BitcoinGetXPub: Object

Type declaration

NameType
paramsz.infer<typeof schemaBitcoinGetXPubParams>
resultz.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
NameType
paramsBitcoinGetXPub["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

NameType
paramsz.infer<typeof schemaCurrencyListParams>
resultz.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
NameType
paramsCurrencyList["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

NameType
paramsz.infer<typeof schemaDeviceCloseParams>
resultz.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
NameType
paramsDeviceClose["params"]
Returns

DeviceClose["result"]

Defined in

packages/core/lib/spec/types/DeviceClose.d.ts:36


DeviceExchange

Ƭ DeviceExchange: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceExchangeParams>
resultz.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
NameType
paramsDeviceExchange["params"]
Returns

DeviceExchange["result"]

Defined in

packages/core/lib/spec/types/DeviceExchange.d.ts:42


DeviceInfo

Ƭ DeviceInfo: Object

Information about a device

Type declaration

NameTypeDescription
modelIdDeviceModelThe model of the device
versionstringThe version of the firmware

Defined in

packages/core/lib/types/index.d.ts:42


DeviceTransport

Ƭ DeviceTransport: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceTransportParams>
resultz.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
NameType
paramsDeviceTransport["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

NameType
paramsz.infer<typeof schemaExchangeCompleteParams>
resultz.infer<typeof schemaExchangeCompleteResults>

Defined in

packages/core/lib/spec/types/ExchangeComplete.d.ts:2684


ExchangeCompleteHandler

Ƭ ExchangeCompleteHandler: (params: ExchangeComplete["params"]) => ExchangeComplete["result"]

Type declaration

▸ (params): ExchangeComplete["result"]

Parameters
NameType
paramsExchangeComplete["params"]
Returns

ExchangeComplete["result"]

Defined in

packages/core/lib/spec/types/ExchangeComplete.d.ts:2688


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

NameType
paramsz.infer<typeof schemaExchangeStartParams>
resultz.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
NameType
paramsExchangeStart["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:21


MessageHandler

Ƭ MessageHandler: (message: string) => void

Type declaration

▸ (message): void

Simple contract for handling a Message received through a Transport protocol

Parameters
NameType
messagestring
Returns

void

Defined in

packages/core/lib/transports/types.d.ts:6


MessageSign

Ƭ MessageSign: Object

Type declaration

NameType
paramsz.infer<typeof schemaMessageSignParams>
resultz.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
NameType
paramsMessageSign["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

NameType
currencyIdsstring[]
methodIdsstring[]

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
NameType
requestRpcRequest
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


RawCeloTransaction

Ƭ RawCeloTransaction: z.infer<typeof schemaRawCeloTransaction>

Defined in

packages/core/lib/families/celo/types.d.ts:7


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


RawHederaTransaction

Ƭ RawHederaTransaction: z.infer<typeof schemaRawHederaTransaction>

Defined in

packages/core/lib/families/hedera/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:49


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:27


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

NameType
TResultunknown
TErrorDataunknown

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

NameType
paramsz.infer<typeof schemaStorageGetParams>
resultz.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
NameType
paramsStorageGet["params"]
Returns

StorageGet["result"]

Defined in

packages/core/lib/spec/types/StorageGet.d.ts:42


StorageSet

Ƭ StorageSet: Object

Type declaration

NameType
paramsz.infer<typeof schemaStorageSetParams>
resultz.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
NameType
paramsStorageSet["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 | HederaTransaction | RippleTransaction | CeloTransaction | 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:55


TransactionSign

Ƭ TransactionSign: Object

Type declaration

NameType
paramsz.infer<typeof schemaTransactionSignParams>
resultz.infer<typeof schemaTransactionSignResults>

Defined in

packages/core/lib/spec/types/TransactionSign.d.ts:900


TransactionSignAndBroadcast

Ƭ TransactionSignAndBroadcast: Object

Type declaration

NameType
paramsz.infer<typeof schemaTransactionSignAndBroadcastParams>
resultz.infer<typeof schemaTransactionSignAndBroadcastResults>

Defined in

packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:900


TransactionSignAndBroadcastHandler

Ƭ TransactionSignAndBroadcastHandler: (params: TransactionSignAndBroadcast["params"]) => TransactionSignAndBroadcast["result"]

Type declaration

▸ (params): TransactionSignAndBroadcast["result"]

Parameters
NameType
paramsTransactionSignAndBroadcast["params"]
Returns

TransactionSignAndBroadcast["result"]

Defined in

packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:904


TransactionSignHandler

Ƭ TransactionSignHandler: (params: TransactionSign["params"]) => TransactionSign["result"]

Type declaration

▸ (params): TransactionSign["result"]

Parameters
NameType
paramsTransactionSign["params"]
Returns

TransactionSign["result"]

Defined in

packages/core/lib/spec/types/TransactionSign.d.ts:904


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

NameType
paramsz.infer<typeof schemaWalletCapabilitiesParams>
resultz.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
NameType
paramsWalletCapabilities["params"]
Returns

WalletCapabilities["result"]

Defined in

packages/core/lib/spec/types/WalletCapabilities.d.ts:24


WalletInfo

Ƭ WalletInfo: Object

Type declaration

NameType
paramsz.infer<typeof schemaWalletInfoParams>
resultz.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
NameType
paramsWalletInfo["params"]
Returns

WalletInfo["result"]

Defined in

packages/core/lib/spec/types/WalletInfo.d.ts:60


WalletUserId

Ƭ WalletUserId: Object

Type declaration

NameType
paramsz.infer<typeof schemaWalletUserIdParams>
resultz.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
NameType
paramsWalletUserId["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", "celo", "cosmos", "filecoin", "hedera", "tezos", "polkadot", "stellar", "tron"]

Defined in

packages/core/lib/families/common.d.ts:12


schemaAccountList

Const schemaAccountList: Object

Type declaration

NameType
paramsz.ZodOptional<z.ZodObject<{ currencyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">> }, "strip", z.ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>>
resultz.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

NameType
paramsz.ZodObject<{ accountId: z.ZodString }, "strip", z.ZodTypeAny, { accountId: string }, { accountId: string }>
resultz.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

NameType
paramsz.ZodObject<{ currencyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">> }, "strip", z.ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>
resultz.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

NameType
paramsz.ZodObject<{ accountId: z.ZodString }, "strip", z.ZodTypeAny, { accountId: string }, { accountId: string }>
resultz.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", "celo", "cosmos", "filecoin", "hedera", "tezos", "polkadot", "stellar", "tron"]> ; type: z.ZodLiteral<"CryptoCurrency"> }>, "strip", z.ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "tezos" | "polkadot" | "stellar" | "tron" ; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "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", "celo", "cosmos", "filecoin", "hedera", "tezos", "polkadot", "stellar", "tron"]> ; type: z.ZodLiteral<"CryptoCurrency"> }>, "strip", z.ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "tezos" | "polkadot" | "stellar" | "tron" ; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "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

NameType
paramsz.ZodOptional<z.ZodObject<{ currencyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">> }, "strip", z.ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>>
resultz.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", "celo", "cosmos", "filecoin", "hedera", "tezos", "polkadot", "stellar", "tron"]> ; type: z.ZodLiteral<"CryptoCurrency"> }>, "strip", z.ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "tezos" | "polkadot" | "stellar" | "tron" ; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "filecoin" | "hedera" | "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" | "celo" | "filecoin" | "hedera" | "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" | "celo" | "filecoin" | "hedera" | "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

NameType
paramsz.ZodObject<{ transportId: z.ZodString }, "strip", z.ZodTypeAny, { transportId: string }, { transportId: string }>
resultz.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

NameType
paramsz.ZodObject<{ apduHex: z.ZodString ; transportId: z.ZodString }, "strip", z.ZodTypeAny, { apduHex: string ; transportId: string }, { apduHex: string ; transportId: string }>
resultz.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

NameType
paramsz.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 }>
resultz.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

NameType
paramsz.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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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 }>>
resultz.ZodObject<{ transactionHash: z.ZodString }, "strip", z.ZodTypeAny, { transactionHash: string }, { transactionHash: string }>

Defined in

packages/core/lib/spec/types/ExchangeComplete.d.ts:1342


schemaExchangeStart

Const schemaExchangeStart: Object

Type declaration

NameType
paramsz.ZodObject<{ exchangeType: z.ZodEnum<["SWAP", "SELL", "FUND"]> }, "strip", z.ZodTypeAny, { exchangeType: "FUND" | "SELL" | "SWAP" }, { exchangeType: "FUND" | "SELL" | "SWAP" }>
resultz.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", "celo", "cosmos", "filecoin", "hedera", "tezos", "polkadot", "stellar", "tron"]>

Defined in

packages/core/lib/families/common.d.ts:13


schemaMessageSign

Const schemaMessageSign: Object

Type declaration

NameType
paramsz.ZodObject<{ accountId: z.ZodString ; hexMessage: z.ZodString }, "strip", z.ZodTypeAny, { accountId: string ; hexMessage: string }, { accountId: string ; hexMessage: string }>
resultz.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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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

NameType
paramsz.ZodObject<{ key: z.ZodString ; storeId: z.ZodOptional<z.ZodString> }, "strip", z.ZodTypeAny, { key: string ; storeId?: string }, { key: string ; storeId?: string }>
resultz.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

NameType
paramsz.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 }>
resultz.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

NameType
paramsz.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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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" } }>
resultz.ZodObject<{ signedTransactionHex: z.ZodString }, "strip", z.ZodTypeAny, { signedTransactionHex: string }, { signedTransactionHex: string }>

Defined in

packages/core/lib/spec/types/TransactionSign.d.ts:450


schemaTransactionSignAndBroadcast

Const schemaTransactionSignAndBroadcast: Object

Type declaration

NameType
paramsz.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<"celo"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "celo" ; recipient: string }, { amount: string ; family: "celo" ; 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 }, { family: z.ZodLiteral<"hedera"> }>, "strip", z.ZodTypeAny, { amount: string ; family: "hedera" ; recipient: string }, { amount: string ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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: "celo" ; 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 ; family: "hedera" ; 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" } }>
resultz.ZodObject<{ transactionHash: z.ZodString }, "strip", z.ZodTypeAny, { transactionHash: string }, { transactionHash: string }>

Defined in

packages/core/lib/spec/types/TransactionSignAndBroadcast.d.ts:450


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

NameType
paramsz.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>
resultz.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

NameType
paramsz.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>
resultz.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

NameType
paramsz.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>
resultz.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

NameType
accountIdstring

Returns

AccountNotFound

Defined in

packages/core/lib/errors/creators.d.ts:5


createCurrencyNotFound

createCurrencyNotFound(currencyId): CurrencyNotFound

Parameters

NameType
currencyIdstring

Returns

CurrencyNotFound

Defined in

packages/core/lib/errors/creators.d.ts:4


createNotImplementedByWallet

createNotImplementedByWallet(methodId): NotImplementedByWallet

Parameters

NameType
methodIdstring

Returns

NotImplementedByWallet

Defined in

packages/core/lib/errors/creators.d.ts:2


createPermissionDenied

createPermissionDenied(methodId): PermissionDenied

Parameters

NameType
methodIdstring

Returns

PermissionDenied

Defined in

packages/core/lib/errors/creators.d.ts:3


createRpcRequest

createRpcRequest<T>(params): RpcRequest<string, T>

Type parameters

Name
T

Parameters

NameType
paramsCreateRpcRequestParams<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

NameType
paramsCreateRpcResponseParams<T, E>

Returns

RpcResponse<T, E>

Defined in

packages/core/lib/JSONRPC/helpers.d.ts:16


createUnauthorizedStore

createUnauthorizedStore(storeId): UnauthorizedStore

Parameters

NameType
storeIdstring

Returns

UnauthorizedStore

Defined in

packages/core/lib/errors/creators.d.ts:7


createUnknownError

createUnknownError(error): UnknownError

Parameters

NameType
errorObject
error.cause?unknown
error.code?string
error.message?string
error.name?string
error.stack?string

Returns

UnknownError

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

NameTypeDescription
rawAccountObjectThe raw account representation to deserialize
rawAccount.addressstring-
rawAccount.balancestring-
rawAccount.blockHeightnumber-
rawAccount.currencystring-
rawAccount.idstring-
rawAccount.lastSyncDatestring-
rawAccount.namestring-
rawAccount.spendableBalancestring-

Returns

Account

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

NameTypeDescription
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: "celo" ; 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 ; family: "hedera" ; 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

Transaction

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

NameType
datastring

Returns

RpcRequest | RpcResponse

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

NameTypeDescription
accountAccountThe account object to serialize

Returns

RawAccount

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

NameTypeDescription
transactionTransactionThe transaction object to serialize

Returns

RawTransaction

The raw representation of the provided transaction object

Defined in

packages/core/lib/families/serializer.d.ts:9