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/src/accounts/types.ts:13


AccountList

Ƭ AccountList: Object

Type declaration

NameType
paramsz.infer<typeof schemaAccountListParams>
resultz.infer<typeof schemaAccountListResults>

Defined in

packages/core/src/spec/types/AccountList.ts:19


AccountListHandler

Ƭ AccountListHandler: (params: AccountList["params"]) => AccountList["result"]

Type declaration

▸ (params): AccountList["result"]

Parameters
NameType
paramsAccountList["params"]
Returns

AccountList["result"]

Defined in

packages/core/src/spec/types/AccountList.ts:24


AccountNotFound

Ƭ AccountNotFound: z.infer<typeof schemaAccountNotFound>

Defined in

packages/core/src/errors/types.ts:47


AccountReceive

Ƭ AccountReceive: Object

Type declaration

NameType
paramsz.infer<typeof schemaAccountReceiveParams>
resultz.infer<typeof schemaAccountReceiveResults>

Defined in

packages/core/src/spec/types/AccountReceive.ts:16


AccountReceiveHandler

Ƭ AccountReceiveHandler: (params: AccountReceive["params"]) => AccountReceive["result"]

Type declaration

▸ (params): AccountReceive["result"]

Parameters
NameType
paramsAccountReceive["params"]
Returns

AccountReceive["result"]

Defined in

packages/core/src/spec/types/AccountReceive.ts:21


AccountRequest

Ƭ AccountRequest: Object

Type declaration

NameType
paramsz.infer<typeof schemaAccountRequestParams>
resultz.infer<typeof schemaAccountRequestResults>

Defined in

packages/core/src/spec/types/AccountRequest.ts:17


AccountRequestHandler

Ƭ AccountRequestHandler: (params: AccountRequest["params"]) => AccountRequest["result"]

Type declaration

▸ (params): AccountRequest["result"]

Parameters
NameType
paramsAccountRequest["params"]
Returns

AccountRequest["result"]

Defined in

packages/core/src/spec/types/AccountRequest.ts:22


AlgorandOperationMode

Ƭ AlgorandOperationMode: z.infer<typeof schemaAlgorandOperationMode>

Defined in

packages/core/src/families/algorand/types.ts:9


ApplicationDetails

Ƭ ApplicationDetails: Object

Informations about a device application

Type declaration

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

Defined in

packages/core/src/types/index.ts:70


BitcoinGetXPub

Ƭ BitcoinGetXPub: Object

Type declaration

NameType
paramsz.infer<typeof schemaBitcoinGetXPubParams>
resultz.infer<typeof schemaBitcoinGetXPubResults>

Defined in

packages/core/src/spec/types/BitcoinGetXPub.ts:16


BitcoinGetXPubHandler

Ƭ BitcoinGetXPubHandler: (params: BitcoinGetXPub["params"]) => BitcoinGetXPub["result"]

Type declaration

▸ (params): BitcoinGetXPub["result"]

Parameters
NameType
paramsBitcoinGetXPub["params"]
Returns

BitcoinGetXPub["result"]

Defined in

packages/core/src/spec/types/BitcoinGetXPub.ts:21


Command

Ƭ Command: TransferCommand | TokenTransferCommand | TokenCreateATACommand | StakeCreateAccountCommand | StakeDelegateCommand | StakeUndelegateCommand | StakeWithdrawCommand | StakeSplitCommand

Defined in

packages/core/src/families/solana/types.ts:79


CommandDescriptor

Ƭ CommandDescriptor: Object

Type declaration

NameType
commandCommand
errorsRecord<string, Error>
feenumber
warningsRecord<string, Error>

Defined in

packages/core/src/families/solana/types.ts:89


CosmosOperationMode

Ƭ CosmosOperationMode: z.infer<typeof schemaCosmosOperationMode>

Defined in

packages/core/src/families/cosmos/types.ts:9


CryptoCurrency

Ƭ CryptoCurrency: z.infer<typeof schemaCryptoCurrency>

Crypto currency model

Defined in

packages/core/src/currencies/types.ts:23


Currency

Ƭ Currency: z.infer<typeof schemaCurrency>

Defined in

packages/core/src/currencies/types.ts:30


CurrencyList

Ƭ CurrencyList: Object

Type declaration

NameType
paramsz.infer<typeof schemaCurrencyListParams>
resultz.infer<typeof schemaCurrencyListResult>

Defined in

packages/core/src/spec/types/CurrencyList.ts:19


CurrencyListHandler

Ƭ CurrencyListHandler: (params: CurrencyList["params"]) => CurrencyList["result"]

Type declaration

▸ (params): CurrencyList["result"]

Parameters
NameType
paramsCurrencyList["params"]
Returns

CurrencyList["result"]

Defined in

packages/core/src/spec/types/CurrencyList.ts:24


CurrencyNotFound

Ƭ CurrencyNotFound: z.infer<typeof schemaCurrencyNotFound>

Defined in

packages/core/src/errors/types.ts:61


CurrencyType

Ƭ CurrencyType: z.infer<typeof schemaCurrencyType>

Currency types

Defined in

packages/core/src/currencies/types.ts:13


DeviceClose

Ƭ DeviceClose: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceCloseParams>
resultz.infer<typeof schemaDeviceCloseResults>

Defined in

packages/core/src/spec/types/DeviceClose.ts:16


DeviceCloseHandler

Ƭ DeviceCloseHandler: (params: DeviceClose["params"]) => DeviceClose["result"]

Type declaration

▸ (params): DeviceClose["result"]

Parameters
NameType
paramsDeviceClose["params"]
Returns

DeviceClose["result"]

Defined in

packages/core/src/spec/types/DeviceClose.ts:21


DeviceExchange

Ƭ DeviceExchange: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceExchangeParams>
resultz.infer<typeof schemaDeviceExchangeResults>

Defined in

packages/core/src/spec/types/DeviceExchange.ts:17


DeviceExchangeHandler

Ƭ DeviceExchangeHandler: (params: DeviceExchange["params"]) => DeviceExchange["result"]

Type declaration

▸ (params): DeviceExchange["result"]

Parameters
NameType
paramsDeviceExchange["params"]
Returns

DeviceExchange["result"]

Defined in

packages/core/src/spec/types/DeviceExchange.ts:22


DeviceInfo

Ƭ DeviceInfo: Object

Information about a device

Type declaration

NameTypeDescription
modelIdDeviceModelThe [[DeviceModel | model]] of the device
versionstringThe version of the firmware

Defined in

packages/core/src/types/index.ts:47


DeviceOpen

Ƭ DeviceOpen: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceOpenParams>
resultz.infer<typeof schemaDeviceOpenResults>

Defined in

packages/core/src/spec/types/DeviceOpen.ts:17


DeviceOpenHandler

Ƭ DeviceOpenHandler: (params: DeviceOpen["params"]) => DeviceOpen["result"]

Type declaration

▸ (params): DeviceOpen["result"]

Parameters
NameType
paramsDeviceOpen["params"]
Returns

DeviceOpen["result"]

Defined in

packages/core/src/spec/types/DeviceOpen.ts:22


DeviceSelect

Ƭ DeviceSelect: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceSelectParams>
resultz.infer<typeof schemaDeviceSelectResults>

Defined in

packages/core/src/spec/types/DeviceSelect.ts:36


DeviceSelectHandler

Ƭ DeviceSelectHandler: (params: DeviceSelect["params"]) => DeviceSelect["result"]

Type declaration

▸ (params): DeviceSelect["result"]

Parameters
NameType
paramsDeviceSelect["params"]
Returns

DeviceSelect["result"]

Defined in

packages/core/src/spec/types/DeviceSelect.ts:41


DeviceTransport

Ƭ DeviceTransport: Object

Type declaration

NameType
paramsz.infer<typeof schemaDeviceTransportParams>
resultz.infer<typeof schemaDeviceTransportResults>

Defined in

packages/core/src/spec/types/DeviceTransport.ts:36


DeviceTransportHandler

Ƭ DeviceTransportHandler: (params: DeviceTransport["params"]) => DeviceTransport["result"]

Type declaration

▸ (params): DeviceTransport["result"]

Parameters
NameType
paramsDeviceTransport["params"]
Returns

DeviceTransport["result"]

Defined in

packages/core/src/spec/types/DeviceTransport.ts:41


DeviceType

Ƭ DeviceType: z.infer<typeof schemaDeviceType>

Defined in

packages/core/src/spec/types/Device.ts:11


ERC20TokenCurrency

Ƭ ERC20TokenCurrency: z.infer<typeof schemaERC20TokenCurrency>

ERC20 token currency model

Defined in

packages/core/src/currencies/types.ts:28


EcdsaSignature

Ƭ EcdsaSignature: Buffer

The ECDSA signature of the [[ExchangePayload | payload]]

Defined in

packages/core/src/types/index.ts:13


ExchangeComplete

Ƭ ExchangeComplete: Object

Type declaration

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

Defined in

packages/core/src/spec/types/ExchangeComplete.ts:46


ExchangeCompleteHandler

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

Type declaration

▸ (params): ExchangeComplete["result"]

Parameters
NameType
paramsExchangeComplete["params"]
Returns

ExchangeComplete["result"]

Defined in

packages/core/src/spec/types/ExchangeComplete.ts:51


ExchangeDeviceTxId

Ƭ ExchangeDeviceTxId: string

A transaction ID used to complete the exchange process

Defined in

packages/core/src/types/index.ts:18


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/src/types/index.ts:8


ExchangeStart

Ƭ ExchangeStart: Object

Type declaration

NameType
paramsz.infer<typeof schemaExchangeStartParams>
resultz.infer<typeof schemaExchangeStartResults>

Defined in

packages/core/src/spec/types/ExchangeStart.ts:18


ExchangeStartHandler

Ƭ ExchangeStartHandler: (params: ExchangeStart["params"]) => ExchangeStart["result"]

Type declaration

▸ (params): ExchangeStart["result"]

Parameters
NameType
paramsExchangeStart["params"]
Returns

ExchangeStart["result"]

Defined in

packages/core/src/spec/types/ExchangeStart.ts:23


Families

Ƭ Families: z.infer<typeof schemaFamilies>

Supported coin families

Defined in

packages/core/src/families/types.ts:27


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/src/transports/types.ts:6


MessageSign

Ƭ MessageSign: Object

Type declaration

NameType
paramsz.infer<typeof schemaMessageSignParams>
resultz.infer<typeof schemaMessageSignResults>

Defined in

packages/core/src/spec/types/MessageSign.ts:18


MessageSignHandler

Ƭ MessageSignHandler: (params: MessageSign["params"]) => MessageSign["result"]

Type declaration

▸ (params): MessageSign["result"]

Parameters
NameType
paramsMessageSign["params"]
Returns

MessageSign["result"]

Defined in

packages/core/src/spec/types/MessageSign.ts:23


MethodId

Ƭ MethodId: z.infer<typeof schemaRPCMethod>

Defined in

packages/core/src/spec/methods.ts:3


NotImplementedByWallet

Ƭ NotImplementedByWallet: z.infer<typeof schemaNotImplementedByWallet>

Defined in

packages/core/src/errors/types.ts:31


Permission

Ƭ Permission: Object

Type declaration

NameType
currencyIdsstring[]
methodIdsstring[]

Defined in

packages/core/src/types/index.ts:81


PermissionDenied

Ƭ PermissionDenied: z.infer<typeof schemaPermissionDenied>

Defined in

packages/core/src/errors/types.ts:75


PolkadotOperationMode

Ƭ PolkadotOperationMode: z.infer<typeof schemaPolkadotOperationMode>

Defined in

packages/core/src/families/polkadot/types.ts:9


Promisable

Ƭ Promisable<T>: T | PromiseLike<T>

Type parameters

Name
T

Defined in

packages/core/src/types/index.ts:1


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


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/src/accounts/types.ts:53


RawAlgorandTransaction

Ƭ RawAlgorandTransaction: z.infer<typeof schemaRawAlgorandTransaction>

Defined in

packages/core/src/families/algorand/types.ts:19


RawBitcoinTransaction

Ƭ RawBitcoinTransaction: z.infer<typeof schemaRawBitcoinTransaction>

Defined in

packages/core/src/families/bitcoin/types.ts:12


RawCardanoTransaction

Ƭ RawCardanoTransaction: z.infer<typeof schemaRawCardanoTransaction>

Defined in

packages/core/src/families/cardano/types.ts:13


RawCeloTransaction

Ƭ RawCeloTransaction: z.infer<typeof schemaRawCeloTransaction>

Defined in

packages/core/src/families/celo/types.ts:13


RawCosmosTransaction

Ƭ RawCosmosTransaction: z.infer<typeof schemaRawCosmosTransaction>

Defined in

packages/core/src/families/cosmos/types.ts:19


RawCryptoOrgTransaction

Ƭ RawCryptoOrgTransaction: z.infer<typeof schemaRawCryptoOrgTransaction>

Defined in

packages/core/src/families/crypto_org/types.ts:12


RawElrondTransaction

Ƭ RawElrondTransaction: z.infer<typeof schemaRawElrondTransaction>

Defined in

packages/core/src/families/elrond/types.ts:17


RawEthereumTransaction

Ƭ RawEthereumTransaction: z.infer<typeof schemaRawEthereumTransaction>

Defined in

packages/core/src/families/ethereum/types.ts:16


RawFilecoinTransaction

Ƭ RawFilecoinTransaction: z.infer<typeof schemaRawFilecoinTransaction>

Defined in

packages/core/src/families/filecoin/types.ts:18


RawHederaTransaction

Ƭ RawHederaTransaction: z.infer<typeof schemaRawHederaTransaction>

Defined in

packages/core/src/families/hedera/types.ts:10


RawNearTransaction

Ƭ RawNearTransaction: z.infer<typeof schemaRawNearTransaction>

Defined in

packages/core/src/families/near/types.ts:12


RawNeoTransaction

Ƭ RawNeoTransaction: z.infer<typeof schemaRawNeoTransaction>

Defined in

packages/core/src/families/neo/types.ts:9


RawPolkadotTransaction

Ƭ RawPolkadotTransaction: z.infer<typeof schemaRawPolkadotTransaction>

Defined in

packages/core/src/families/polkadot/types.ts:18


RawRippleTransaction

Ƭ RawRippleTransaction: z.infer<typeof schemaRawRippleTransaction>

Defined in

packages/core/src/families/ripple/types.ts:12


RawSolanaTransaction

Ƭ RawSolanaTransaction: z.infer<typeof schemaRawSolanaTransaction>

Defined in

packages/core/src/families/solana/types.ts:172


RawStellarTransaction

Ƭ RawStellarTransaction: z.infer<typeof schemaRawStellarTransaction>

Defined in

packages/core/src/families/stellar/types.ts:16


RawTezosTransaction

Ƭ RawTezosTransaction: z.infer<typeof schemaRawTezosTransaction>

Defined in

packages/core/src/families/tezos/types.ts:18


RawTransaction

Ƭ RawTransaction: z.infer<typeof schemaRawTransaction>

The raw representation of the generic [[Transaction]] type.

Defined in

packages/core/src/families/types.ts:57


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/src/families/types.ts:33


RawTronTransaction

Ƭ RawTronTransaction: z.infer<typeof schemaRawTronTransaction>

Defined in

packages/core/src/families/tron/types.ts:20


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/src/JSONRPC/types.ts:106


ServerErrorCode

Ƭ ServerErrorCode: z.infer<typeof schemaServerErrorCode>

Defined in

packages/core/src/errors/types.ts:17


ServerErrorData

Ƭ ServerErrorData: z.infer<typeof schemaServerErrorData>

Defined in

packages/core/src/errors/types.ts:118


StakeCreateAccountCommand

Ƭ StakeCreateAccountCommand: Object

Type declaration

NameType
amountnumber
delegate{ voteAccAddress: string }
delegate.voteAccAddressstring
fromAccAddressstring
kind"stake.createAccount"
seedstring
stakeAccAddressstring
stakeAccRentExemptAmountnumber

Defined in

packages/core/src/families/solana/types.ts:20


StakeCreateAccountTransaction

Ƭ StakeCreateAccountTransaction: Object

Type declaration

NameType
kind"stake.createAccount"
uiState{ delegate: { voteAccAddress: string } }
uiState.delegate{ voteAccAddress: string }
uiState.delegate.voteAccAddressstring

Defined in

packages/core/src/families/solana/types.ts:118


StakeDelegateCommand

Ƭ StakeDelegateCommand: Object

Type declaration

NameType
authorizedAccAddrstring
kind"stake.delegate"
stakeAccAddrstring
voteAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:32


StakeDelegateTransaction

Ƭ StakeDelegateTransaction: Object

Type declaration

NameType
kind"stake.delegate"
uiState{ stakeAccAddr: string ; voteAccAddr: string }
uiState.stakeAccAddrstring
uiState.voteAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:127


StakeSplitCommand

Ƭ StakeSplitCommand: Object

Type declaration

NameType
amountnumber
authorizedAccAddrstring
kind"stake.split"
seedstring
splitStakeAccAddrstring
stakeAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:53


StakeSplitTransaction

Ƭ StakeSplitTransaction: Object

Type declaration

NameType
kind"stake.split"
uiState{ stakeAccAddr: string }
uiState.stakeAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:149


StakeUndelegateCommand

Ƭ StakeUndelegateCommand: Object

Type declaration

NameType
authorizedAccAddrstring
kind"stake.undelegate"
stakeAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:39


StakeUndelegateTransaction

Ƭ StakeUndelegateTransaction: Object

Type declaration

NameType
kind"stake.undelegate"
uiState{ stakeAccAddr: string }
uiState.stakeAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:135


StakeWithdrawCommand

Ƭ StakeWithdrawCommand: Object

Type declaration

NameType
amountnumber
authorizedAccAddrstring
kind"stake.withdraw"
stakeAccAddrstring
toAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:45


StakeWithdrawTransaction

Ƭ StakeWithdrawTransaction: Object

Type declaration

NameType
kind"stake.withdraw"
uiState{ stakeAccAddr: string }
uiState.stakeAccAddrstring

Defined in

packages/core/src/families/solana/types.ts:142


StellarMemoType

Ƭ StellarMemoType: z.infer<typeof stellarMemoTypeEnum>

Defined in

packages/core/src/families/stellar/types.ts:18


StorageGet

Ƭ StorageGet: Object

Type declaration

NameType
paramsz.infer<typeof schemaStorageGetParams>
resultz.infer<typeof schemaStorageGetResults>

Defined in

packages/core/src/spec/types/StorageGet.ts:17


StorageGetHandler

Ƭ StorageGetHandler: (params: StorageGet["params"]) => StorageGet["result"]

Type declaration

▸ (params): StorageGet["result"]

Parameters
NameType
paramsStorageGet["params"]
Returns

StorageGet["result"]

Defined in

packages/core/src/spec/types/StorageGet.ts:22


StorageSet

Ƭ StorageSet: Object

Type declaration

NameType
paramsz.infer<typeof schemaStorageSetParams>
resultz.infer<typeof schemaStorageSetResults>

Defined in

packages/core/src/spec/types/StorageSet.ts:16


StorageSetHandler

Ƭ StorageSetHandler: (params: StorageSet["params"]) => StorageSet["result"]

Type declaration

▸ (params): StorageSet["result"]

Parameters
NameType
paramsStorageSet["params"]
Returns

StorageSet["result"]

Defined in

packages/core/src/spec/types/StorageSet.ts:21


TezosOperationMode

Ƭ TezosOperationMode: z.infer<typeof schemaTezosOperationMode>

Defined in

packages/core/src/families/tezos/types.ts:9


TokenCreateATACommand

Ƭ TokenCreateATACommand: Object

Type declaration

NameType
associatedTokenAccountAddressstring
kind"token.createATA"
mintstring
ownerstring

Defined in

packages/core/src/families/solana/types.ts:13


TokenCreateATATransaction

Ƭ TokenCreateATATransaction: Object

Type declaration

NameType
kind"token.createATA"
uiState{ tokenId: string }
uiState.tokenIdstring

Defined in

packages/core/src/families/solana/types.ts:111


TokenRecipientDescriptor

Ƭ TokenRecipientDescriptor: Object

Type declaration

NameType
shouldCreateAsAssociatedTokenAccountboolean
tokenAccAddressstring
walletAddressstring

Defined in

packages/core/src/families/solana/types.ts:62


TokenStandard

Ƭ TokenStandard: z.infer<typeof schemaTokenStandard>

Token standards

Defined in

packages/core/src/currencies/types.ts:18


TokenTransferCommand

Ƭ TokenTransferCommand: Object

Type declaration

NameType
amountnumber
kind"token.transfer"
memo?string
mintAddressstring
mintDecimalsnumber
ownerAddressstring
ownerAssociatedTokenAccountAddressstring
recipientDescriptorTokenRecipientDescriptor

Defined in

packages/core/src/families/solana/types.ts:68


TokenTransferTransaction

Ƭ TokenTransferTransaction: Object

Type declaration

NameType
kind"token.transfer"
uiState{ memo?: string ; subAccountId: string }
uiState.memo?string
uiState.subAccountIdstring

Defined in

packages/core/src/families/solana/types.ts:103


Transaction

Ƭ Transaction: EthereumTransaction | BitcoinTransaction | AlgorandTransaction | CryptoOrgTransaction | HederaTransaction | FilecoinTransaction | RippleTransaction | CeloTransaction | CosmosTransaction | TezosTransaction | PolkadotTransaction | StellarTransaction | TronTransaction | NearTransaction | NeoTransaction | ElrondTransaction | CardanoTransaction | SolanaTransaction

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/src/families/types.ts:64


TransactionModel

Ƭ TransactionModel: { commandDescriptor?: CommandDescriptor } & TransferTransaction | TokenTransferTransaction | TokenCreateATATransaction | StakeCreateAccountTransaction | StakeDelegateTransaction | StakeUndelegateTransaction | StakeWithdrawTransaction | StakeSplitTransaction

Defined in

packages/core/src/families/solana/types.ts:156


TransactionSign

Ƭ TransactionSign: Object

Type declaration

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

Defined in

packages/core/src/spec/types/TransactionSign.ts:24


TransactionSignAndBroadcast

Ƭ TransactionSignAndBroadcast: Object

Type declaration

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

Defined in

packages/core/src/spec/types/TransactionSignAndBroadcast.ts:24


TransactionSignAndBroadcastHandler

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

Type declaration

▸ (params): TransactionSignAndBroadcast["result"]

Parameters
NameType
paramsTransactionSignAndBroadcast["params"]
Returns

TransactionSignAndBroadcast["result"]

Defined in

packages/core/src/spec/types/TransactionSignAndBroadcast.ts:29


TransactionSignHandler

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

Type declaration

▸ (params): TransactionSign["result"]

Parameters
NameType
paramsTransactionSign["params"]
Returns

TransactionSign["result"]

Defined in

packages/core/src/spec/types/TransactionSign.ts:29


TransferCommand

Ƭ TransferCommand: Object

Type declaration

NameType
amountnumber
kind"transfer"
memo?string
recipientstring
senderstring

Defined in

packages/core/src/families/solana/types.ts:5


TransferTransaction

Ƭ TransferTransaction: Object

Type declaration

NameType
kind"transfer"
uiState{ memo?: string }
uiState.memo?string

Defined in

packages/core/src/families/solana/types.ts:96


TronOperationMode

Ƭ TronOperationMode: z.infer<typeof schemaTronOperationMode>

Defined in

packages/core/src/families/tron/types.ts:9


TronResource

Ƭ TronResource: z.infer<typeof schemaTronResource>

Defined in

packages/core/src/families/tron/types.ts:11


UnauthorizedStore

Ƭ UnauthorizedStore: z.infer<typeof schemaUnauthorizedStore>

Defined in

packages/core/src/errors/types.ts:107


UnknownError

Ƭ UnknownError: z.infer<typeof schemaUnknownError>

Defined in

packages/core/src/errors/types.ts:93


WalletCapabilities

Ƭ WalletCapabilities: Object

Type declaration

NameType
paramsz.infer<typeof schemaWalletCapabilitiesParams>
resultz.infer<typeof schemaWalletCapabilitiesResults>

Defined in

packages/core/src/spec/types/WalletCapabilities.ts:14


WalletCapabilitiesHandler

Ƭ WalletCapabilitiesHandler: (params: WalletCapabilities["params"]) => WalletCapabilities["result"]

Type declaration

▸ (params): WalletCapabilities["result"]

Parameters
NameType
paramsWalletCapabilities["params"]
Returns

WalletCapabilities["result"]

Defined in

packages/core/src/spec/types/WalletCapabilities.ts:19


WalletInfo

Ƭ WalletInfo: Object

Type declaration

NameType
paramsz.infer<typeof schemaWalletInfoParams>
resultz.infer<typeof schemaWalletInfoResults>

Defined in

packages/core/src/spec/types/WalletInfo.ts:18


WalletInfoHandler

Ƭ WalletInfoHandler: (params: WalletInfo["params"]) => WalletInfo["result"]

Type declaration

▸ (params): WalletInfo["result"]

Parameters
NameType
paramsWalletInfo["params"]
Returns

WalletInfo["result"]

Defined in

packages/core/src/spec/types/WalletInfo.ts:23


WalletUserId

Ƭ WalletUserId: Object

Type declaration

NameType
paramsz.infer<typeof schemaWalletUserIdParams>
resultz.infer<typeof schemaWalletUserIdResults>

Defined in

packages/core/src/spec/types/WalletUserId.ts:14


WalletUserIdHandler

Ƭ WalletUserIdHandler: (params: WalletUserId["params"]) => WalletUserId["result"]

Type declaration

▸ (params): WalletUserId["result"]

Parameters
NameType
paramsWalletUserId["params"]
Returns

WalletUserId["result"]

Defined in

packages/core/src/spec/types/WalletUserId.ts:19

Variables

FAMILIES

Const FAMILIES: readonly ["bitcoin", "ethereum", "algorand", "crypto_org", "ripple", "cosmos", "ripple", "celo", "cosmos", "hedera", "filecoin", "tezos", "polkadot", "stellar", "tron", "near", "neo", "elrond", "cardano", "solana"]

Defined in

packages/core/src/families/common.ts:8


schemaAccountList

Const schemaAccountList: Object

Type declaration

NameType
paramsZodOptional<ZodObject<{ currencyIds: ZodOptional<ZodArray<ZodString, "many">> }, "strip", ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>>
resultZodObject<{ rawAccounts: ZodArray<ZodObject<{ address: ZodString ; balance: ZodString ; blockHeight: ZodNumber ; currency: ZodString ; id: ZodString ; lastSyncDate: ZodString ; name: ZodString ; spendableBalance: ZodString }, "strip", 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", ZodTypeAny, { rawAccounts: { id: string; address: string; name: string; currency: string; balance: string; spendableBalance: string; blockHeight: number; lastSyncDate: string; }[] }, { rawAccounts: { id: string; address: string; name: string; currency: string; balance: string; spendableBalance: string; blockHeight: number; lastSyncDate: string; }[] }>

Defined in

packages/core/src/spec/types/AccountList.ts:14


schemaAccountNotFound

Const schemaAccountNotFound: ZodObject<{ code: ZodLiteral<"ACCOUNT_NOT_FOUND"> ; data: ZodObject<{ accountId: ZodString }, "strip", ZodTypeAny, { accountId: string }, { accountId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "ACCOUNT_NOT_FOUND" ; data: { accountId: string; } ; message: string }, { code: "ACCOUNT_NOT_FOUND" ; data: { accountId: string; } ; message: string }>

Defined in

packages/core/src/errors/types.ts:39


schemaAccountReceive

Const schemaAccountReceive: Object

Type declaration

NameType
paramsZodObject<{ accountId: ZodString }, "strip", ZodTypeAny, { accountId: string }, { accountId: string }>
resultZodObject<{ address: ZodString }, "strip", ZodTypeAny, { address: string }, { address: string }>

Defined in

packages/core/src/spec/types/AccountReceive.ts:11


schemaAccountRequest

Const schemaAccountRequest: Object

Type declaration

NameType
paramsZodObject<{ currencyIds: ZodOptional<ZodArray<ZodString, "many">> }, "strip", ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>
resultZodObject<{ rawAccount: ZodObject<{ address: ZodString ; balance: ZodString ; blockHeight: ZodNumber ; currency: ZodString ; id: ZodString ; lastSyncDate: ZodString ; name: ZodString ; spendableBalance: ZodString }, "strip", 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 }> = schemaRawAccount }, "strip", ZodTypeAny, { rawAccount: { id: string; address: string; name: string; currency: string; balance: string; spendableBalance: string; blockHeight: number; lastSyncDate: string; } = schemaRawAccount }, { rawAccount: { id: string; address: string; name: string; currency: string; balance: string; spendableBalance: string; blockHeight: number; lastSyncDate: string; } = schemaRawAccount }>

Defined in

packages/core/src/spec/types/AccountRequest.ts:12


schemaBaseCurrency

Const schemaBaseCurrency: ZodObject<{ color: ZodString ; decimals: ZodNumber ; id: ZodString ; name: ZodString ; ticker: ZodString }, "strip", 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/src/currencies/validation.ts:7


schemaBitcoinGetXPub

Const schemaBitcoinGetXPub: Object

Type declaration

NameType
paramsZodObject<{ accountId: ZodString }, "strip", ZodTypeAny, { accountId: string }, { accountId: string }>
resultZodObject<{ xPub: ZodString }, "strip", ZodTypeAny, { xPub: string }, { xPub: string }>

Defined in

packages/core/src/spec/types/BitcoinGetXPub.ts:11


schemaCryptoCurrency

Const schemaCryptoCurrency: ZodObject<{ color: ZodString ; decimals: ZodNumber ; family: ZodEnum<["bitcoin", "ethereum", "algorand", "crypto_org", "ripple", "cosmos", "ripple", "celo", "cosmos", "hedera", "filecoin", "tezos", "polkadot", "stellar", "tron", "near", "neo", "elrond", "cardano", "solana"]> = schemaFamilies; id: ZodString ; name: ZodString ; ticker: ZodString ; type: ZodLiteral<"CryptoCurrency"> }, "strip", ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }>

Defined in

packages/core/src/currencies/validation.ts:15


schemaCurrency

Const schemaCurrency: ZodDiscriminatedUnion<"type", [ZodObject<{ color: ZodString ; decimals: ZodNumber ; family: ZodEnum<["bitcoin", "ethereum", "algorand", "crypto_org", "ripple", "cosmos", "ripple", "celo", "cosmos", "hedera", "filecoin", "tezos", "polkadot", "stellar", "tron", "near", "neo", "elrond", "cardano", "solana"]> = schemaFamilies; id: ZodString ; name: ZodString ; ticker: ZodString ; type: ZodLiteral<"CryptoCurrency"> }, "strip", ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }>, ZodObject<{ color: ZodString ; contract: ZodString ; decimals: ZodNumber ; id: ZodString ; name: ZodString ; parent: ZodString ; standard: ZodEnum<["ERC20"]> = schemaTokenStandard; ticker: ZodString ; type: ZodLiteral<"TokenCurrency"> }, "strip", ZodTypeAny, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }>]>

Defined in

packages/core/src/currencies/validation.ts:30


schemaCurrencyList

Const schemaCurrencyList: Object

Type declaration

NameType
paramsZodOptional<ZodObject<{ currencyIds: ZodOptional<ZodArray<ZodString, "many">> }, "strip", ZodTypeAny, { currencyIds?: string[] }, { currencyIds?: string[] }>>
resultZodObject<{ currencies: ZodArray<ZodDiscriminatedUnion<"type", [ZodObject<{ color: ZodString ; decimals: ZodNumber ; family: ZodEnum<["bitcoin", "ethereum", "algorand", "crypto_org", "ripple", "cosmos", "ripple", "celo", "cosmos", "hedera", "filecoin", "tezos", "polkadot", "stellar", "tron", "near", "neo", "elrond", "cardano", "solana"]> = schemaFamilies; id: ZodString ; name: ZodString ; ticker: ZodString ; type: ZodLiteral<"CryptoCurrency"> }, "strip", ZodTypeAny, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }, { color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" }>, ZodObject<{ color: ZodString ; contract: ZodString ; decimals: ZodNumber ; id: ZodString ; name: ZodString ; parent: ZodString ; standard: ZodEnum<["ERC20"]> = schemaTokenStandard; ticker: ZodString ; type: ZodLiteral<"TokenCurrency"> }, "strip", ZodTypeAny, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }>]>, "many"> }, "strip", ZodTypeAny, { currencies: ({ color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" } | { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" })[] }, { currencies: ({ color: string ; decimals: number ; family: "bitcoin" | "ethereum" | "algorand" | "crypto_org" | "ripple" | "cosmos" | "celo" | "hedera" | "filecoin" | "tezos" | "polkadot" | "stellar" | "tron" | "near" | "neo" | "elrond" | "cardano" | "solana" = schemaFamilies; id: string ; name: string ; ticker: string ; type: "CryptoCurrency" } | { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" })[] }>

Defined in

packages/core/src/spec/types/CurrencyList.ts:14


schemaCurrencyNotFound

Const schemaCurrencyNotFound: ZodObject<{ code: ZodLiteral<"CURRENCY_NOT_FOUND"> ; data: ZodObject<{ currencyId: ZodString }, "strip", ZodTypeAny, { currencyId: string }, { currencyId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "CURRENCY_NOT_FOUND" ; data: { currencyId: string; } ; message: string }, { code: "CURRENCY_NOT_FOUND" ; data: { currencyId: string; } ; message: string }>

Defined in

packages/core/src/errors/types.ts:53


schemaCurrencyType

Const schemaCurrencyType: ZodEnum<["CryptoCurrency", "TokenCurrency"]>

Defined in

packages/core/src/currencies/validation.ts:4


schemaDeviceClose

Const schemaDeviceClose: Object

Type declaration

NameType
paramsZodObject<{ transportId: ZodString }, "strip", ZodTypeAny, { transportId: string }, { transportId: string }>
resultZodObject<{ transportId: ZodString }, "strip", ZodTypeAny, { transportId: string }, { transportId: string }>

Defined in

packages/core/src/spec/types/DeviceClose.ts:11


schemaDeviceExchange

Const schemaDeviceExchange: Object

Type declaration

NameType
paramsZodObject<{ apduHex: ZodString ; transportId: ZodString }, "strip", ZodTypeAny, { apduHex: string ; transportId: string }, { apduHex: string ; transportId: string }>
resultZodObject<{ responseHex: ZodString }, "strip", ZodTypeAny, { responseHex: string }, { responseHex: string }>

Defined in

packages/core/src/spec/types/DeviceExchange.ts:12


schemaDeviceOpen

Const schemaDeviceOpen: Object

Type declaration

NameType
paramsZodObject<{ deviceId: ZodString }, "strip", ZodTypeAny, { deviceId: string }, { deviceId: string }>
resultZodObject<{ transportId: ZodString }, "strip", ZodTypeAny, { transportId: string }, { transportId: string }>

Defined in

packages/core/src/spec/types/DeviceOpen.ts:12


schemaDeviceSelect

Const schemaDeviceSelect: Object

Type declaration

NameType
paramsZodObject<{ appName: ZodOptional<ZodString> ; appVersionRange: ZodOptional<ZodString> ; devices: ZodOptional<ZodArray<ZodEnum<["blue", "nanoS", "nanoSP", "nanoX", "stax"]>, "atleastone">> ; firmwareVersionRange: ZodOptional<ZodString> ; seeded: ZodOptional<ZodBoolean> }, "strip", 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 }>
resultZodObject<{ deviceId: ZodString }, "strip", ZodTypeAny, { deviceId: string }, { deviceId: string }>

Defined in

packages/core/src/spec/types/DeviceSelect.ts:31


schemaDeviceTransport

Const schemaDeviceTransport: Object

Type declaration

NameType
paramsZodObject<{ appName: ZodOptional<ZodString> ; appVersionRange: ZodOptional<ZodString> ; devices: ZodOptional<ZodArray<ZodEnum<["blue", "nanoS", "nanoSP", "nanoX", "stax"]>, "atleastone">> ; firmwareVersionRange: ZodOptional<ZodString> ; seeded: ZodOptional<ZodBoolean> }, "strip", 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 }>
resultZodObject<{ transportId: ZodString }, "strip", ZodTypeAny, { transportId: string }, { transportId: string }>

Defined in

packages/core/src/spec/types/DeviceTransport.ts:31


schemaDeviceType

Const schemaDeviceType: ZodEnum<["blue", "nanoS", "nanoSP", "nanoX", "stax"]>

Defined in

packages/core/src/spec/types/Device.ts:3


schemaERC20TokenCurrency

Const schemaERC20TokenCurrency: ZodObject<{ color: ZodString ; contract: ZodString ; decimals: ZodNumber ; id: ZodString ; name: ZodString ; parent: ZodString ; standard: ZodEnum<["ERC20"]> = schemaTokenStandard; ticker: ZodString ; type: ZodLiteral<"TokenCurrency"> }, "strip", ZodTypeAny, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }, { color: string ; contract: string ; decimals: number ; id: string ; name: string ; parent: string ; standard: "ERC20" = schemaTokenStandard; ticker: string ; type: "TokenCurrency" }>

Defined in

packages/core/src/currencies/validation.ts:25


schemaExchangeComplete

Const schemaExchangeComplete: Object

Type declaration

NameType
paramsZodDiscriminatedUnion<"exchangeType", [ZodObject<{ exchangeType: ZodLiteral<"FUND"> ; feeStrategy: ZodEnum<["SLOW", "MEDIUM", "FAST"]> = schemaFeeStrategyType; fromAccountId: ZodString ; hexBinaryPayload: ZodString ; hexSignature: ZodString ; provider: ZodString ; rawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"algorand">; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]>; fees: ZodOptional<...>; assetId: ZodOptional<...>; memo: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"bitcoin">; feePerByte: ZodOptional<ZodString>; opReturnDataHex: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"celo">; fees: ZodNullable<ZodOptional<ZodString>>; mode: ZodEnum<...>; index: ZodNullable<...>; }, "strip", ZodTypeAny, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }>]> = schemaRawTransaction }, "strip", ZodTypeAny, { exchangeType: "FUND" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction }, { exchangeType: "FUND" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction }>, ZodObject<{ exchangeType: ZodLiteral<"SELL"> ; feeStrategy: ZodEnum<["SLOW", "MEDIUM", "FAST"]> = schemaFeeStrategyType; fromAccountId: ZodString ; hexBinaryPayload: ZodString ; hexSignature: ZodString ; provider: ZodString ; rawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"algorand">; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]>; fees: ZodOptional<...>; assetId: ZodOptional<...>; memo: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"bitcoin">; feePerByte: ZodOptional<ZodString>; opReturnDataHex: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"celo">; fees: ZodNullable<ZodOptional<ZodString>>; mode: ZodEnum<...>; index: ZodNullable<...>; }, "strip", ZodTypeAny, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }>]> = schemaRawTransaction }, "strip", ZodTypeAny, { exchangeType: "SELL" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction }, { exchangeType: "SELL" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction }>, ZodObject<{ exchangeType: ZodLiteral<"SWAP"> ; feeStrategy: ZodEnum<["SLOW", "MEDIUM", "FAST"]> = schemaFeeStrategyType; fromAccountId: ZodString ; hexBinaryPayload: ZodString ; hexSignature: ZodString ; provider: ZodString ; rawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"algorand">; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]>; fees: ZodOptional<...>; assetId: ZodOptional<...>; memo: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }, { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"bitcoin">; feePerByte: ZodOptional<ZodString>; opReturnDataHex: ZodOptional<...>; }, "strip", ZodTypeAny, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }, { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; }>, ZodObject<{ amount: ZodString; recipient: ZodString; family: ZodLiteral<"celo">; fees: ZodNullable<ZodOptional<ZodString>>; mode: ZodEnum<...>; index: ZodNullable<...>; }, "strip", ZodTypeAny, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }, { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; }>]> = schemaRawTransaction; toAccountId: ZodString }, "strip", ZodTypeAny, { exchangeType: "SWAP" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction; toAccountId: string }, { exchangeType: "SWAP" ; feeStrategy: "SLOW" | "MEDIUM" | "FAST" = schemaFeeStrategyType; fromAccountId: string ; hexBinaryPayload: string ; hexSignature: string ; provider: string ; rawTransaction: { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } & undefined | { family: "algorand"; amount: string; recipient: string; mode: "send" | "optIn" | "claimReward" | "optOut"; fees?: string | undefined; assetId?: string | undefined; memo?: string | undefined; } | { family: "bitcoin"; amount: string; recipient: string; feePerByte?: string | undefined; opReturnDataHex?: string | undefined; } | { family: "celo"; amount: string; recipient: string; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register"; fees?: string | null | undefined; index?: number | ... 1 more ... | undefined; } | { family: "cosmos"; amount: string; recipient: string; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound"; fees?: string | undefined; gas?: string | undefined; memo?: string | undefined; } | { family: "crypto_org"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "ethereum"; amount: string; recipient: string; nonce?: number | undefined; data?: string | undefined; gasPrice?: string | undefined; gasLimit?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxFeePerGas?: string | undefined; } | { family: "hedera"; amount: string; recipient: string; memo?: string | undefined; } | { method: number; nonce: number; family: "filecoin"; amount: string; recipient: string; gasLimit: number; gasFeeCap: string; gasPremium: string; version: number; data?: string | undefined; params?: string | undefined; } | { family: "near"; amount: string; recipient: string; mode: string; fees?: string | undefined; } | { family: "neo"; amount: string; recipient: string; } | { family: "polkadot"; amount: string; recipient: string; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill"; fee?: string | undefined; era?: number | undefined; } | { family: "ripple"; amount: string; recipient: string; tag: number; fee?: string | undefined; } | { family: "stellar"; amount: string; recipient: string; fees?: string | undefined; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" | undefined; memoValue?: string | undefined; } | { family: "tezos"; amount: string; recipient: string; mode: "send" | "delegate" | "undelegate"; fees?: string | undefined; gasLimit?: string | undefined; } | { family: "tron"; amount: string; recipient: string; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze"; resource?: "BANDWIDTH" | "ENERGY" | undefined; duration?: number | undefined; } | { family: "elrond"; amount: string; recipient: string; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards"; gasLimit: number; fees?: string | undefined; data?: string | undefined; } | { family: "cardano"; amount: string; recipient: string; mode: string; fees?: string | undefined; memo?: string | undefined; } | { family: "solana"; amount: string; recipient: string; model: string; } = schemaRawTransaction; toAccountId: string }>]>
resultZodObject<{ transactionHash: ZodString }, "strip", ZodTypeAny, { transactionHash: string }, { transactionHash: string }>

Defined in

packages/core/src/spec/types/ExchangeComplete.ts:41


schemaExchangeStart

Const schemaExchangeStart: Object

Type declaration

NameType
paramsZodObject<{ exchangeType: ZodEnum<["SWAP", "SELL", "FUND"]> = schemaExchangeType }, "strip", ZodTypeAny, { exchangeType: "FUND" | "SELL" | "SWAP" = schemaExchangeType }, { exchangeType: "FUND" | "SELL" | "SWAP" = schemaExchangeType }>
resultZodObject<{ transactionId: ZodString }, "strip", ZodTypeAny, { transactionId: string }, { transactionId: string }>

Defined in

packages/core/src/spec/types/ExchangeStart.ts:13


schemaFamilies

Const schemaFamilies: ZodEnum<["bitcoin", "ethereum", "algorand", "crypto_org", "ripple", "cosmos", "ripple", "celo", "cosmos", "hedera", "filecoin", "tezos", "polkadot", "stellar", "tron", "near", "neo", "elrond", "cardano", "solana"]>

Defined in

packages/core/src/families/common.ts:31


schemaMessageSign

Const schemaMessageSign: Object

Type declaration

NameType
paramsZodObject<{ accountId: ZodString ; hexMessage: ZodString ; meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> }, "strip", ZodTypeAny, { accountId: string ; hexMessage: string ; meta?: Record<string, unknown> }, { accountId: string ; hexMessage: string ; meta?: Record<string, unknown> }>
resultZodObject<{ hexSignedMessage: ZodString }, "strip", ZodTypeAny, { hexSignedMessage: string }, { hexSignedMessage: string }>

Defined in

packages/core/src/spec/types/MessageSign.ts:13


schemaNotImplementedByWallet

Const schemaNotImplementedByWallet: ZodObject<{ code: ZodLiteral<"NOT_IMPLEMENTED_BY_WALLET"> ; data: ZodObject<{ methodId: ZodString }, "strip", ZodTypeAny, { methodId: string }, { methodId: string }> ; message: ZodString }, "strip", 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/src/errors/types.ts:23


schemaPermissionDenied

Const schemaPermissionDenied: ZodObject<{ code: ZodLiteral<"PERMISSION_DENIED"> ; data: ZodObject<{ methodId: ZodString }, "strip", ZodTypeAny, { methodId: string }, { methodId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "PERMISSION_DENIED" ; data: { methodId: string; } ; message: string }, { code: "PERMISSION_DENIED" ; data: { methodId: string; } ; message: string }>

Defined in

packages/core/src/errors/types.ts:67


schemaRPCCall

Const schemaRPCCall: ZodUnion<[ZodObject<{ id: ZodOptional<ZodUnion<[ZodString, ZodNumber, ZodNull]>> ; jsonrpc: ZodLiteral<"2.0"> ; method: ZodString ; params: ZodAny }, "strict", ZodTypeAny, { id?: null | string | number ; jsonrpc: "2.0" ; method: string ; params?: any }, { id?: null | string | number ; jsonrpc: "2.0" ; method: string ; params?: any }>, ZodUnion<[ZodObject<{ error: ZodObject<{ code: ZodNumber ; data: ZodOptional<ZodAny> ; message: ZodString }, "strict", ZodTypeAny, { code: number ; data?: any ; message: string }, { code: number ; data?: any ; message: string }> = schemaRPCResponseErrorData; id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> }, "strict", ZodTypeAny, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }>, ZodObject<{ id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> ; result: ZodObject<{}, "passthrough", ZodTypeAny, objectOutputType<{}, ZodTypeAny, "passthrough">, objectInputType<{}, ZodTypeAny, "passthrough">> }, "strict", ZodTypeAny, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }>]>]>

Defined in

packages/core/src/JSONRPC/validation.ts:43


schemaRPCMethod

Const schemaRPCMethod: 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/src/spec/methods.ts:5


schemaRPCRequest

Const schemaRPCRequest: ZodObject<{ id: ZodOptional<ZodUnion<[ZodString, ZodNumber, ZodNull]>> ; jsonrpc: ZodLiteral<"2.0"> ; method: ZodString ; params: ZodAny }, "strict", ZodTypeAny, { id?: null | string | number ; jsonrpc: "2.0" ; method: string ; params?: any }, { id?: null | string | number ; jsonrpc: "2.0" ; method: string ; params?: any }>

Defined in

packages/core/src/JSONRPC/validation.ts:5


schemaRPCResponse

Const schemaRPCResponse: ZodUnion<[ZodObject<{ error: ZodObject<{ code: ZodNumber ; data: ZodOptional<ZodAny> ; message: ZodString }, "strict", ZodTypeAny, { code: number ; data?: any ; message: string }, { code: number ; data?: any ; message: string }> = schemaRPCResponseErrorData; id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> }, "strict", ZodTypeAny, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }>, ZodObject<{ id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> ; result: ZodObject<{}, "passthrough", ZodTypeAny, objectOutputType<{}, ZodTypeAny, "passthrough">, objectInputType<{}, ZodTypeAny, "passthrough">> }, "strict", ZodTypeAny, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }>]>

Defined in

packages/core/src/JSONRPC/validation.ts:38


schemaRPCResponseError

Const schemaRPCResponseError: ZodObject<{ error: ZodObject<{ code: ZodNumber ; data: ZodOptional<ZodAny> ; message: ZodString }, "strict", ZodTypeAny, { code: number ; data?: any ; message: string }, { code: number ; data?: any ; message: string }> = schemaRPCResponseErrorData; id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> }, "strict", ZodTypeAny, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }, { error: { code: number; message: string; data?: any; } = schemaRPCResponseErrorData; id: null | string | number = schemaRPCId; jsonrpc: "2.0" }>

Defined in

packages/core/src/JSONRPC/validation.ts:30


schemaRPCResponseErrorData

Const schemaRPCResponseErrorData: ZodObject<{ code: ZodNumber ; data: ZodOptional<ZodAny> ; message: ZodString }, "strict", ZodTypeAny, { code: number ; data?: any ; message: string }, { code: number ; data?: any ; message: string }>

Defined in

packages/core/src/JSONRPC/validation.ts:14


schemaRPCResponseSuccess

Const schemaRPCResponseSuccess: ZodObject<{ id: ZodUnion<[ZodString, ZodNumber, ZodNull]> = schemaRPCId; jsonrpc: ZodLiteral<"2.0"> ; result: ZodObject<{}, "passthrough", ZodTypeAny, objectOutputType<{}, ZodTypeAny, "passthrough">, objectInputType<{}, ZodTypeAny, "passthrough">> }, "strict", ZodTypeAny, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }, { id: null | string | number = schemaRPCId; jsonrpc: "2.0" ; result: {} & { [k: string]: unknown; } }>

Defined in

packages/core/src/JSONRPC/validation.ts:22


schemaRawAccount

Const schemaRawAccount: ZodObject<{ address: ZodString ; balance: ZodString ; blockHeight: ZodNumber ; currency: ZodString ; id: ZodString ; lastSyncDate: ZodString ; name: ZodString ; spendableBalance: ZodString }, "strip", 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/src/accounts/validation.ts:3


schemaRawTransaction

Const schemaRawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString ; assetId: ZodOptional<ZodString> ; family: ZodLiteral<"algorand"> ; fees: ZodOptional<ZodString> ; memo: ZodOptional<ZodString> ; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]> = schemaAlgorandOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"bitcoin"> ; feePerByte: ZodOptional<ZodString> ; opReturnDataHex: ZodOptional<ZodString> ; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"celo"> ; fees: ZodNullable<ZodOptional<ZodString>> ; index: ZodNullable<ZodOptional<ZodNumber>> ; mode: ZodEnum<["send", "lock", "unlock", "withdraw", "vote", "revoke", "activate", "register"]> = schemaOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }>]>

Defined in

packages/core/src/families/validation.ts:21


schemaServerErrorCode

Const schemaServerErrorCode: ZodEnum<["NOT_IMPLEMENTED_BY_WALLET", "ACCOUNT_NOT_FOUND", "CURRENCY_NOT_FOUND", "PERMISSION_DENIED", "UNKNOWN_ERROR", "UNAUTHORIZED_STORE"]>

Defined in

packages/core/src/errors/types.ts:8


schemaServerErrorData

Const schemaServerErrorData: ZodDiscriminatedUnion<"code", [ZodObject<{ code: ZodLiteral<"NOT_IMPLEMENTED_BY_WALLET"> ; data: ZodObject<{ methodId: ZodString }, "strip", ZodTypeAny, { methodId: string }, { methodId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "NOT_IMPLEMENTED_BY_WALLET" ; data: { methodId: string; } ; message: string }, { code: "NOT_IMPLEMENTED_BY_WALLET" ; data: { methodId: string; } ; message: string }>, ZodObject<{ code: ZodLiteral<"ACCOUNT_NOT_FOUND"> ; data: ZodObject<{ accountId: ZodString }, "strip", ZodTypeAny, { accountId: string }, { accountId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "ACCOUNT_NOT_FOUND" ; data: { accountId: string; } ; message: string }, { code: "ACCOUNT_NOT_FOUND" ; data: { accountId: string; } ; message: string }>, ZodObject<{ code: ZodLiteral<"CURRENCY_NOT_FOUND"> ; data: ZodObject<{ currencyId: ZodString }, "strip", ZodTypeAny, { currencyId: string }, { currencyId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "CURRENCY_NOT_FOUND" ; data: { currencyId: string; } ; message: string }, { code: "CURRENCY_NOT_FOUND" ; data: { currencyId: string; } ; message: string }>]>

Defined in

packages/core/src/errors/types.ts:109


schemaStorageGet

Const schemaStorageGet: Object

Type declaration

NameType
paramsZodObject<{ key: ZodString ; storeId: ZodOptional<ZodString> }, "strip", ZodTypeAny, { key: string ; storeId?: string }, { key: string ; storeId?: string }>
resultZodObject<{ value: ZodOptional<ZodString> }, "strip", ZodTypeAny, { value?: string }, { value?: string }>

Defined in

packages/core/src/spec/types/StorageGet.ts:12


schemaStorageSet

Const schemaStorageSet: Object

Type declaration

NameType
paramsZodObject<{ key: ZodString ; storeId: ZodOptional<ZodString> ; value: ZodString }, "strip", ZodTypeAny, { key: string ; storeId?: string ; value: string }, { key: string ; storeId?: string ; value: string }>
resultZodVoid

Defined in

packages/core/src/spec/types/StorageSet.ts:11


schemaTokenCurrency

Const schemaTokenCurrency: ZodObject<{ color: ZodString ; decimals: ZodNumber ; id: ZodString ; name: ZodString ; parent: ZodString ; ticker: ZodString ; type: ZodLiteral<"TokenCurrency"> }, "strip", 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/src/currencies/validation.ts:20


schemaTokenStandard

Const schemaTokenStandard: ZodEnum<["ERC20"]>

Defined in

packages/core/src/currencies/validation.ts:5


schemaTransactionCommon

Const schemaTransactionCommon: ZodObject<{ amount: ZodString ; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; recipient: string }, { amount: string ; recipient: string }>

Defined in

packages/core/src/families/common.ts:3


schemaTransactionSign

Const schemaTransactionSign: Object

Type declaration

NameType
paramsZodObject<{ accountId: ZodString ; meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> ; options: ZodOptional<ZodObject<{ hwAppId: ZodOptional<ZodString> }, "strip", ZodTypeAny, { hwAppId?: string }, { hwAppId?: string }>> ; rawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString ; assetId: ZodOptional<ZodString> ; family: ZodLiteral<"algorand"> ; fees: ZodOptional<ZodString> ; memo: ZodOptional<ZodString> ; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]> = schemaAlgorandOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"bitcoin"> ; feePerByte: ZodOptional<ZodString> ; opReturnDataHex: ZodOptional<ZodString> ; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"celo"> ; fees: ZodNullable<ZodOptional<ZodString>> ; index: ZodNullable<ZodOptional<ZodNumber>> ; mode: ZodEnum<["send", "lock", "unlock", "withdraw", "vote", "revoke", "activate", "register"]> = schemaOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }>]> = schemaRawTransaction }, "strip", ZodTypeAny, { accountId: string ; meta?: Record<string, unknown> ; options?: { hwAppId?: string | undefined; } ; rawTransaction: { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } & undefined | { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } = schemaRawTransaction }, { accountId: string ; meta?: Record<string, unknown> ; options?: { hwAppId?: string | undefined; } ; rawTransaction: { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } & undefined | { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } = schemaRawTransaction }>
resultZodObject<{ signedTransactionHex: ZodString }, "strip", ZodTypeAny, { signedTransactionHex: string }, { signedTransactionHex: string }>

Defined in

packages/core/src/spec/types/TransactionSign.ts:19


schemaTransactionSignAndBroadcast

Const schemaTransactionSignAndBroadcast: Object

Type declaration

NameType
paramsZodObject<{ accountId: ZodString ; meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> ; options: ZodOptional<ZodObject<{ hwAppId: ZodOptional<ZodString> }, "strip", ZodTypeAny, { hwAppId?: string }, { hwAppId?: string }>> ; rawTransaction: ZodDiscriminatedUnion<"family", [ZodObject<{ amount: ZodString ; assetId: ZodOptional<ZodString> ; family: ZodLiteral<"algorand"> ; fees: ZodOptional<ZodString> ; memo: ZodOptional<ZodString> ; mode: ZodEnum<["send", "optIn", "claimReward", "optOut"]> = schemaAlgorandOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }, { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"bitcoin"> ; feePerByte: ZodOptional<ZodString> ; opReturnDataHex: ZodOptional<ZodString> ; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }, { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string }>, ZodObject<{ amount: ZodString ; family: ZodLiteral<"celo"> ; fees: ZodNullable<ZodOptional<ZodString>> ; index: ZodNullable<ZodOptional<ZodNumber>> ; mode: ZodEnum<["send", "lock", "unlock", "withdraw", "vote", "revoke", "activate", "register"]> = schemaOperationMode; recipient: ZodString }, "strip", ZodTypeAny, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }, { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string }>]> = schemaRawTransaction }, "strip", ZodTypeAny, { accountId: string ; meta?: Record<string, unknown> ; options?: { hwAppId?: string | undefined; } ; rawTransaction: { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } & undefined | { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } = schemaRawTransaction }, { accountId: string ; meta?: Record<string, unknown> ; options?: { hwAppId?: string | undefined; } ; rawTransaction: { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } & undefined | { amount: string ; assetId?: string ; family: "algorand" ; fees?: string ; memo?: string ; mode: "send" | "optIn" | "claimReward" | "optOut" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string } = schemaRawTransaction }>
resultZodObject<{ transactionHash: ZodString }, "strip", ZodTypeAny, { transactionHash: string }, { transactionHash: string }>

Defined in

packages/core/src/spec/types/TransactionSignAndBroadcast.ts:19


schemaUnauthorizedStore

Const schemaUnauthorizedStore: ZodObject<{ code: ZodLiteral<"UNAUTHORIZED_STORE"> ; data: ZodObject<{ storeId: ZodString }, "strip", ZodTypeAny, { storeId: string }, { storeId: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "UNAUTHORIZED_STORE" ; data: { storeId: string; } ; message: string }, { code: "UNAUTHORIZED_STORE" ; data: { storeId: string; } ; message: string }>

Defined in

packages/core/src/errors/types.ts:99


schemaUnknownError

Const schemaUnknownError: ZodObject<{ code: ZodLiteral<"UNKNOWN_ERROR"> ; data: ZodObject<{ cause: ZodOptional<ZodUnknown> ; code: ZodOptional<ZodString> ; message: ZodOptional<ZodString> ; name: ZodOptional<ZodString> ; stack: ZodOptional<ZodString> }, "strip", ZodTypeAny, { cause?: unknown ; code?: string ; message?: string ; name?: string ; stack?: string }, { cause?: unknown ; code?: string ; message?: string ; name?: string ; stack?: string }> ; message: ZodString }, "strip", ZodTypeAny, { code: "UNKNOWN_ERROR" ; data: { name?: string | undefined; message?: string | undefined; stack?: string | undefined; cause?: unknown; code?: string | undefined; } ; message: string }, { code: "UNKNOWN_ERROR" ; data: { name?: string | undefined; message?: string | undefined; stack?: string | undefined; cause?: unknown; code?: string | undefined; } ; message: string }>

Defined in

packages/core/src/errors/types.ts:81


schemaWalletCapabilities

Const schemaWalletCapabilities: Object

Type declaration

NameType
paramsZodObject<{}, "strip", ZodTypeAny, {}, {}>
resultZodObject<{ methodIds: ZodArray<ZodString, "many"> }, "strip", ZodTypeAny, { methodIds: string[] }, { methodIds: string[] }>

Defined in

packages/core/src/spec/types/WalletCapabilities.ts:9


schemaWalletInfo

Const schemaWalletInfo: Object

Type declaration

NameType
paramsZodObject<{}, "strip", ZodTypeAny, {}, {}>
resultZodObject<{ tracking: ZodBoolean ; wallet: ZodObject<{ name: ZodString ; version: ZodString }, "strip", ZodTypeAny, { name: string ; version: string }, { name: string ; version: string }> }, "strip", ZodTypeAny, { tracking: boolean ; wallet: { name: string; version: string; } }, { tracking: boolean ; wallet: { name: string; version: string; } }>

Defined in

packages/core/src/spec/types/WalletInfo.ts:13


schemaWalletUserId

Const schemaWalletUserId: Object

Type declaration

NameType
paramsZodObject<{}, "strip", ZodTypeAny, {}, {}>
resultZodObject<{ userId: ZodString }, "strip", ZodTypeAny, { userId: string }, { userId: string }>

Defined in

packages/core/src/spec/types/WalletUserId.ts:9

Functions

createAccountNotFound

createAccountNotFound(accountId): AccountNotFound

Parameters

NameType
accountIdstring

Returns

AccountNotFound

Defined in

packages/core/src/errors/creators.ts:42


createCurrencyNotFound

createCurrencyNotFound(currencyId): CurrencyNotFound

Parameters

NameType
currencyIdstring

Returns

CurrencyNotFound

Defined in

packages/core/src/errors/creators.ts:32


createNotImplementedByWallet

createNotImplementedByWallet(methodId): NotImplementedByWallet

Parameters

NameType
methodIdstring

Returns

NotImplementedByWallet

Defined in

packages/core/src/errors/creators.ts:10


createPermissionDenied

createPermissionDenied(methodId): PermissionDenied

Parameters

NameType
methodIdstring

Returns

PermissionDenied

Defined in

packages/core/src/errors/creators.ts:22


createRpcRequest

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

Type parameters

Name
T

Parameters

NameType
paramsCreateRpcRequestParams<T>

Returns

RpcRequest<string, T>

Defined in

packages/core/src/JSONRPC/helpers.ts:39


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/src/JSONRPC/helpers.ts:57


createUnauthorizedStore

createUnauthorizedStore(storeId): UnauthorizedStore

Parameters

NameType
storeIdstring

Returns

UnauthorizedStore

Defined in

packages/core/src/errors/creators.ts:60


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/src/errors/creators.ts:52


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/src/accounts/serializers.ts:41


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" = schemaAlgorandOperationMode; recipient: string } | { amount: string ; family: "bitcoin" ; feePerByte?: string ; opReturnDataHex?: string ; recipient: string } | { amount: string ; family: "celo" ; fees?: null | string ; index?: null | number ; mode: "send" | "lock" | "unlock" | "withdraw" | "vote" | "revoke" | "activate" | "register" = schemaOperationMode; recipient: string } | { amount: string ; family: "cosmos" ; fees?: string ; gas?: string ; memo?: string ; mode: "send" | "claimReward" | "delegate" | "undelegate" | "redelegate" | "claimRewardCompound" = schemaCosmosOperationMode; recipient: string } | { amount: string ; family: "crypto_org" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; data?: string ; family: "ethereum" ; gasLimit?: string ; gasPrice?: string ; maxFeePerGas?: string ; maxPriorityFeePerGas?: string ; nonce?: number ; recipient: string } | { amount: string ; family: "hedera" ; memo?: string ; recipient: string } | { amount: string ; data?: string ; family: "filecoin" ; gasFeeCap: string ; gasLimit: number ; gasPremium: string ; method: number ; nonce: number ; params?: string ; recipient: string ; version: number } | { amount: string ; family: "near" ; fees?: string ; mode: string ; recipient: string } | { amount: string ; family: "neo" ; recipient: string } | { amount: string ; era?: number ; family: "polkadot" ; fee?: string ; mode: "send" | "claimReward" | "bond" | "unbond" | "rebond" | "withdrawUnbonded" | "setController" | "nominate" | "chill" = schemaPolkadotOperationMode; recipient: string } | { amount: string ; family: "ripple" ; fee?: string ; recipient: string ; tag: number } | { amount: string ; family: "stellar" ; fees?: string ; memoType?: "MEMO_TEXT" | "MEMO_ID" | "MEMO_HASH" | "MEMO_RETURN" ; memoValue?: string ; recipient: string } | { amount: string ; family: "tezos" ; fees?: string ; gasLimit?: string ; mode: "send" | "delegate" | "undelegate" = schemaTezosOperationMode; recipient: string } | { amount: string ; duration?: number ; family: "tron" ; mode: "send" | "claimReward" | "vote" | "freeze" | "unfreeze" = schemaTronOperationMode; recipient: string ; resource?: "BANDWIDTH" | "ENERGY" } | { amount: string ; data?: string ; family: "elrond" ; fees?: string ; gasLimit: number ; mode: "send" | "withdraw" | "delegate" | "reDelegateRewards" | "unDelegate" | "claimRewards" ; recipient: string } | { amount: string ; family: "cardano" ; fees?: string ; memo?: string ; mode: string ; recipient: string } | { amount: string ; family: "solana" ; model: string ; recipient: string }The raw transaction representation to deserialize

Returns

Transaction

The object transaction of the provided raw transaction representation

Defined in

packages/core/src/families/serializer.ts:129


parseRPCCall

parseRPCCall(data): RpcRequest | RpcResponse

Parameters

NameType
datastring

Returns

RpcRequest | RpcResponse

Defined in

packages/core/src/JSONRPC/helpers.ts:11


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/src/accounts/serializers.ts:12


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/src/families/serializer.ts:76