UNPKG

@venly/venly-core-sdk

Version:

Javascrip/Typescript SDK for Venly's Web3 Services

2,759 lines (2,756 loc) 165 kB
import { Any } from '../../helpers/json'; import * as enums from '../enums/index'; import * as shared from '../shared/index'; /** * */ export declare class VyWalletApiHealthDto { /** * Indicates the status of API services as either `UP` or `DOWN`. * @type {string} */ status?: string; constructor(initializer?: VyWalletApiHealthDto); } /** * */ export declare class VySigningMethodDto { /** * The signing method `UUID` * @type {string} */ id?: string; /** * The type of signing method * @type {VySigningMethodType} */ type?: enums.VySigningMethodType; /** * Number of incorrect signing method attempts * @type {number} */ incorrectAttempts?: number; /** * Number of remaining signing method attempts * @type {number} */ remainingAttempts?: number; /** * Date-time when signing method was last successfuly used * @type {string} */ lastUsedSuccess?: string; /** * * @type {boolean} */ hasMasterSecret?: boolean; constructor(initializer?: VySigningMethodDto); } /** * */ export declare class VyUserDto { /** * The user `ID` * @type {string} */ id?: string; /** * Reference description of the user * @type {string} */ reference?: string; /** * The date and time when user was created * @type {Date} */ createdAt?: Date; /** * * @type {VySigningMethodDto[]} */ signingMethods?: VySigningMethodDto[]; constructor(initializer?: VyUserDto); } export interface IVyCreateSigningMethodRequestBaseProps { } /** * */ export declare class VyCreateSigningMethodRequestBase { /** * Authentication method type (first method must be PIN) * @type {VySigningMethodType} */ type: enums.VySigningMethodType; constructor(_type?: enums.VySigningMethodType, initializer?: VyCreateSigningMethodRequestBase); } /** * */ export declare class VyCreateUserRequest { /** * A keyword to identify or group your users together. This can be used later to filter out specific users based on this reference * @type {string} */ reference?: string; /** * * @type {VyCreateSigningMethodRequestBase} */ signingMethod?: VyCreateSigningMethodRequestBase; constructor(initializer?: VyCreateUserRequest); } export interface IVyCreatePinSigningMethodRequestProps extends IVyCreateSigningMethodRequestBaseProps { /** * Six-digit PIN code (mandatory as first signing method) * @type {string} */ value?: string; } /** * */ export declare class VyCreatePinSigningMethodRequest extends VyCreateSigningMethodRequestBase { /** * Six-digit PIN code (mandatory as first signing method) * @type {string} */ value?: string; constructor(initializer?: IVyCreatePinSigningMethodRequestProps); } export interface IVyCreateEmergencyCodeSigningMethodRequestProps extends IVyCreateSigningMethodRequestBaseProps { /** * 25-character emergency recovery code (auto-generated if empty). Can only be added after PIN is set. * @type {string} */ value?: string; } /** * */ export declare class VyCreateEmergencyCodeSigningMethodRequest extends VyCreateSigningMethodRequestBase { /** * 25-character emergency recovery code (auto-generated if empty). Can only be added after PIN is set. * @type {string} */ value?: string; constructor(initializer?: IVyCreateEmergencyCodeSigningMethodRequestProps); } export interface IVyCreateBiometricSigningMethodRequestProps extends IVyCreateSigningMethodRequestBaseProps { /** * Biometric identifier or template hash. Can only be added after PIN is set. * @type {string} */ value?: string; /** * Unique device identifier * @type {string} */ physicalDeviceId?: string; } /** * */ export declare class VyCreateBiometricSigningMethodRequest extends VyCreateSigningMethodRequestBase { /** * Biometric identifier or template hash. Can only be added after PIN is set. * @type {string} */ value?: string; /** * Unique device identifier * @type {string} */ physicalDeviceId?: string; constructor(initializer?: IVyCreateBiometricSigningMethodRequestProps); } export interface IVyCreatePasswordSigningMethodRequestProps extends IVyCreateSigningMethodRequestBaseProps { /** * Secure password for authentication. Can only be added after PIN is set. * @type {string} */ value?: string; } /** * */ export declare class VyCreatePasswordSigningMethodRequest extends VyCreateSigningMethodRequestBase { /** * Secure password for authentication. Can only be added after PIN is set. * @type {string} */ value?: string; constructor(initializer?: IVyCreatePasswordSigningMethodRequestProps); } /** * */ export declare class VyUpdateUserReferenceRequest { /** * The new `reference` identifier for the user * @type {string} */ reference?: string; constructor(initializer?: VyUpdateUserReferenceRequest); } /** * */ export declare class VyUserReferenceDto { /** * The wallet ID * @type {string} */ id?: string; /** * Updated description * @type {string} */ reference?: string; /** * Time-date when the reference was updated * @type {string} */ createdAt?: string; constructor(initializer?: VyUserReferenceDto); } /** * */ export declare class VyUpdateSigningMethodRequest { /** * The new credential value for the signing method. Format requirements vary by type: - **PIN**: Must be exactly 6 digits - **PASSWORD**: Minimum 8 characters with complexity requirements - **EMERGENCY_CODE**: Exactly 25 characters long. Leave empty to auto-generate. - **BIOMETRIC**: A unique identifier or template hash (e.g., "face_id_template_abc123") * @type {string} */ value?: string; /** * Unique identifier for the physical device used with biometric authentication. Required only when updating biometric signing methods. This links the biometric data to a specific device for enhanced security. * @type {string} */ physicalDeviceId?: string; constructor(initializer?: VyUpdateSigningMethodRequest); } /** * */ export declare class VyExchangePriceDto { /** * Current USD exchange rate per unit of the native token * @type {number} */ usdPrice?: number; /** * Total USD value of all native token holdings in this wallet * @type {number} */ usdBalanceValue?: number; constructor(initializer?: VyExchangePriceDto); } /** * */ export declare class VyWalletNativeBalanceDto { /** * Indicates whether the balance information was successfully retrieved from the blockchain * @type {boolean} */ available?: boolean; /** * Blockchain network on which this wallet operates * @type {VyChain} */ chain?: enums.VyChain; /** * Human-readable balance of the native token in decimal format * @type {number} */ balance?: number; /** * Human-readable balance of the gas token used for transaction fees (identical to balance when native token is used for gas) * @type {number} */ gasBalance?: number; /** * Ticker symbol of the native token (e.g., ETH, BTC, MATIC) * @type {string} */ symbol?: string; /** * Ticker symbol of the token used for paying transaction fees * @type {string} */ gasSymbol?: string; /** * Unformatted balance of the native token in the smallest unit (wei, satoshi, etc.) * @type {string} */ rawBalance?: string; /** * Unformatted balance of the gas token in the smallest unit * @type {string} */ rawGasBalance?: string; /** * Number of decimal places used by the native token for precision (e.g., 18 for ETH, 8 for BTC) * @type {number} */ decimals?: number; /** * * @type {VyExchangePriceDto} */ exchange?: VyExchangePriceDto; constructor(initializer?: VyWalletNativeBalanceDto); } /** * */ export declare class VyWalletDto { /** * Unique identifier for the wallet * @type {string} */ id?: string; /** * Public blockchain address for receiving transactions * @type {string} */ address?: string; /** * Classification of wallet functionality and access method * @type {string} */ readonly walletType: string; /** * Blockchain network on which this wallet operates * @type {VyChain} */ chain?: enums.VyChain; /** * ISO 8601 timestamp when the wallet was created * @type {Date} */ createdAt?: Date; /** * Indicates whether the wallet has been archived and is no longer active * @type {boolean} */ archived?: boolean; /** * Optional user-defined description or label for the wallet * @type {string} */ description?: string; /** * Indicates if this is the user's primary wallet for this blockchain * @type {boolean} */ primary?: boolean; /** * Indicates whether the wallet uses a custom PIN instead of the user's default PIN * @type {boolean} */ hasCustomPin?: boolean; /** * Optional custom identifier for external system integration * @type {string} */ identifier?: string; /** * Unique identifier of the user who owns this wallet * @type {string} */ userId?: string; /** * Indicates whether this is a custodial wallet (keys managed by service) or non-custodial (user-controlled keys) * @type {boolean} */ custodial?: boolean; /** * * @type {VyWalletNativeBalanceDto} */ balance?: VyWalletNativeBalanceDto; constructor(initializer?: VyWalletDto); } /** * */ export declare class VyUpdateWalletRequest { /** * Human-readable description of the wallet's purpose or contents * @type {string} */ description?: string; /** * Designates this wallet as the primary/default wallet for the user * @type {boolean} */ primary?: boolean; /** * Archives the wallet, making it read-only and hidden from API endpoints * @type {boolean} */ archived?: boolean; /** * Unique identifier or alias for the wallet * @type {string} */ identifier?: string; constructor(initializer?: VyUpdateWalletRequest); } /** * */ export declare class VyCreateWalletRequest { /** * The pin that will encrypt and decrypt the wallet * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; /** * Human-readable description explaining the wallet's intended purpose or usage context * @type {string} */ description?: string; /** * The blockchain on which to create the wallet * @type {VyChain} */ chain?: enums.VyChain; /** * The `UUID` of the user who you want to link this wallet to * @type {string} */ userId?: string; /** * Optional custom identifier for wallet organization, grouping, or integration with external systems * @type {string} */ identifier?: string; constructor(initializer?: VyCreateWalletRequest); } export interface IVyExportWalletRequestBaseProps { /** * PINCODE for the wallet * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; } /** * */ export declare class VyExportWalletRequestBase { /** * Format type for the exported wallet credentials * @type {VyExportWalletType} */ type: enums.VyExportWalletType; /** * PINCODE for the wallet * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; constructor(_type?: enums.VyExportWalletType, initializer?: VyExportWalletRequestBase); } export interface IVyExportWalletKeystoreProps extends IVyExportWalletRequestBaseProps { /** * Password to encrypt the keystore file for secure storage * @type {string} */ password?: string; } /** * */ export declare class VyExportWalletKeystore extends VyExportWalletRequestBase { /** * Password to encrypt the keystore file for secure storage * @type {string} */ password?: string; constructor(initializer?: IVyExportWalletKeystoreProps); } export interface IVyExportWalletPrivateKeyProps extends IVyExportWalletRequestBaseProps { } /** * */ export declare class VyExportWalletPrivateKey extends VyExportWalletRequestBase { constructor(initializer?: IVyExportWalletPrivateKeyProps); } /** * */ export declare class VyExportWalletResultDto { /** * JSON file that represents the wallet (warning: this is a string field so make sure the JSON body is escaped properly) * @type {string} */ keystore?: string; /** * The password of the keystore * @type {string} */ privateKey?: string; constructor(initializer?: VyExportWalletResultDto); } /** * */ export declare class VyWalletImportRequestBase { /** * Specifies the blockchain network and credential format for wallet import. [View complete import type documentation](https://docs.venly.io/docs/import-a-wallet#import-wallet-types) * @type {VyImportWalletType} */ importWalletType?: enums.VyImportWalletType; /** * Unique identifier (UUID) of the user who will own the imported wallet * @type {string} */ userId?: string; /** * Whether the wallet will be managed as custodial or non-custodial * @type {boolean} */ custodial?: boolean; /** * The PINCODE of the wallet * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; constructor(initializer?: VyWalletImportRequestBase); } /** * */ export declare class VyKeystoreImportRequest extends VyWalletImportRequestBase { /** * JSON keystore file content (encrypted wallet data) * @type {string} */ keystore?: string; /** * Password used to decrypt the keystore file * @type {string} */ password?: string; constructor(initializer?: VyKeystoreImportRequest); } /** * */ export declare class VyPrivateKeyImportRequest extends VyWalletImportRequestBase { /** * Raw private key * @type {string} */ privateKey?: string; constructor(initializer?: VyPrivateKeyImportRequest); } /** * */ export declare class VyWifImportRequest extends VyWalletImportRequestBase { /** * Wallet Import Format string (base58-encoded private key) * @type {string} */ wif?: string; /** * Optional passphrase for WIF decryption (required for passphrase-protected WIF) * @type {string} */ passphrase?: string; constructor(initializer?: VyWifImportRequest); } /** * */ export declare class VyWalletMigrationImportDto extends VyWalletImportRequestBase { /** * Unique identifier of the existing wallet to migrate * @type {string} */ walletId?: string; /** * Target blockchain network for migration * @type {VyMigrationTargetType} */ to?: enums.VyMigrationTargetType; constructor(initializer?: VyWalletMigrationImportDto); } /** * */ export declare class VyValidateWalletResultDto { /** * Indicates if the format of the wallet adress is correct or not * @type {boolean} */ valid?: boolean; constructor(initializer?: VyValidateWalletResultDto); } /** * */ export declare class VyWalletEventDto { /** * The date-time of the event * @type {Date} */ eventTimestamp?: Date; /** * * @type {string} */ client?: string; /** * The event type * @type {VyWalletEventType} */ type?: enums.VyWalletEventType; /** * * @type {string} */ metadata?: string; /** * The wallet `UUID` * @type {string} */ walletId?: string; constructor(initializer?: VyWalletEventDto); } /** * */ export declare class VyTokenExchange { /** * The price in USD for one token * @type {BigInt} */ usdPrice?: BigInt; /** * The total price of all tokens in USD * @type {BigInt} */ usdBalanceValue?: BigInt; constructor(initializer?: VyTokenExchange); } /** * */ export declare class VyErc20TokenDto { /** * Contract address of the token * @type {string} */ tokenAddress?: string; /** * Raw token balance * @type {string} */ rawBalance?: string; /** * Normalized token balance * @type {number} */ balance?: number; /** * Decimals of the token * @type {number} */ decimals?: number; /** * The symbol of the token * @type {string} */ symbol?: string; /** * Logo of the token (_URL_) * @type {string} */ logo?: string; /** * The type of token, which depends on the specific blockchain * @type {string} */ type?: string; /** * Indicates whether or not the token can be transferred * @type {boolean} */ transferable?: boolean; /** * Name of the token * @type {string} */ name?: string; /** * Indicates if the token is possibly a spam * @type {boolean} */ possibleSpam?: boolean; /** * * @type {VyTokenExchange} */ exchange?: VyTokenExchange; /** * The categories under which the token falls. * @type {string[]} */ categories?: string[]; /** * Social links such as Website, Facebook, YouTube, etc. * @type {Any} */ links?: Any; /** * The URL to the token's thumbnail image * @type {string} */ thumbnail?: string; /** * The percentage of the token's value relative to the total portfolio value * @type {number} */ portfolioPercentage?: number; constructor(initializer?: VyErc20TokenDto); } /** * */ export declare class VyHederaTokenAssociationDto { /** * The public wallet address * @type {string} */ address?: string; /** * Number of max auto - associations. (_Without needing to associate the token first_) * @type {BigInt} */ maxTokenAutoAssociations?: BigInt; /** * List of associated tokens with your wallet address * @type {string[]} */ tokens?: string[]; constructor(initializer?: VyHederaTokenAssociationDto); } export interface IVyTransactionRequestBaseProps { /** * The wallet `ID` that executed the tx * @type {string} */ walletId?: string; /** * * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; /** * The status of transaction * @type {enums.VyTransactionRequestState} */ status?: enums.VyTransactionRequestState; } /** * */ export declare class VyTransactionRequestBase { /** * The wallet `ID` that executed the tx * @type {string} */ walletId?: string; /** * * @deprecated This property will be removed in a future release * @type {string} */ pincode?: string; /** * The type of transaction * @type {VyTransactionRequestType} */ type: enums.VyTransactionRequestType; /** * The status of transaction * @type {VyTransactionRequestState} */ status?: enums.VyTransactionRequestState; constructor(_type?: enums.VyTransactionRequestType, initializer?: VyTransactionRequestBase); } /** * */ export declare class VyTransactionDto { /** * * @type {Date} */ expiresAt?: Date; /** * The date-time when the transaction was created * @type {Date} */ createdAt?: Date; /** * * @type {VyTransactionRequestBase} */ transactionRequest?: VyTransactionRequestBase; /** * The transaction hash * @type {string} */ transactionHash?: string; /** * * @type {string} */ originId?: string; /** * * @deprecated This property will be removed in a future release * @type {string} */ resubmittedTransactionId?: string; /** * * @type {string} */ replacedBy?: string; constructor(initializer?: VyTransactionDto); } /** * */ export declare class VyValidateSigningMethodRequestDto { /** * * @type {string} */ id?: string; /** * * @type {string} */ value?: string; constructor(initializer?: VyValidateSigningMethodRequestDto); } export interface IVyAeTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {string} */ to?: string; /** * * @type {number} */ value?: number; /** * * @deprecated This property will be removed in a future release * @type {number} */ fee?: number; /** * * @type {number} */ ttl?: number; /** * * @type {number} */ nonce?: number; /** * * @type {string} */ data?: string; } /** * */ export declare class VyAeTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {string} */ to?: string; /** * * @type {number} */ value?: number; /** * * @deprecated This property will be removed in a future release * @type {number} */ fee?: number; /** * * @type {number} */ ttl?: number; /** * * @type {number} */ nonce?: number; /** * * @type {string} */ data?: string; constructor(initializer?: IVyAeTransactionRequestProps); } /** * */ export declare class VyNetworkDto { /** * * @type {string} */ name?: string; /** * * @type {string} */ nodeUrl?: string; /** * * @type {number} */ chainId?: number; constructor(initializer?: VyNetworkDto); } /** * */ export declare class VyJsonNode { constructor(initializer?: VyJsonNode); } export interface IVyArbitrumContractExecutionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; } /** * */ export declare class VyArbitrumContractExecutionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; constructor(initializer?: IVyArbitrumContractExecutionRequestProps); } export interface IVyArbitrumErc20TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; } /** * */ export declare class VyArbitrumErc20TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; constructor(initializer?: IVyArbitrumErc20TransactionRequestProps); } export interface IVyArbitrumErc721TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {string} */ from?: string; /** * * @type {number} */ amount?: number; /** * * @type {number} */ tokenId?: number; } /** * */ export declare class VyArbitrumErc721TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {string} */ from?: string; /** * * @type {number} */ amount?: number; /** * * @type {number} */ tokenId?: number; constructor(initializer?: IVyArbitrumErc721TransactionRequestProps); } export interface IVyArbitrumTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; } /** * */ export declare class VyArbitrumTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ maxFeePerGas?: number; /** * * @type {number} */ maxPriorityFeePerGas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; constructor(initializer?: IVyArbitrumTransactionRequestProps); } export interface IVyAvacContractExecutionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; } /** * */ export declare class VyAvacContractExecutionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; constructor(initializer?: IVyAvacContractExecutionRequestProps); } export interface IVyAvacErc20TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; } /** * */ export declare class VyAvacErc20TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; constructor(initializer?: IVyAvacErc20TransactionRequestProps); } export interface IVyAvacErc721TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ tokenId?: number; /** * * @type {number} */ amount?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ from?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {number} */ value?: number; } /** * */ export declare class VyAvacErc721TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ tokenId?: number; /** * * @type {number} */ amount?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ from?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {number} */ value?: number; constructor(initializer?: IVyAvacErc721TransactionRequestProps); } export interface IVyAvacTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; } /** * */ export declare class VyAvacTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; constructor(initializer?: IVyAvacTransactionRequestProps); } export interface IVyBaseContractExecutionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; } /** * */ export declare class VyBaseContractExecutionRequest extends VyTransactionRequestBase { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; constructor(initializer?: IVyBaseContractExecutionRequestProps); } export interface IVyBaseErc20TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; } /** * */ export declare class VyBaseErc20TransactionRequest extends VyTransactionRequestBase { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; constructor(initializer?: IVyBaseErc20TransactionRequestProps); } export interface IVyBaseErc721TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {string} */ from?: string; /** * * @type {number} */ amount?: number; /** * * @type {number} */ tokenId?: number; } /** * */ export declare class VyBaseErc721TransactionRequest extends VyTransactionRequestBase { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {string} */ from?: string; /** * * @type {number} */ amount?: number; /** * * @type {number} */ tokenId?: number; constructor(initializer?: IVyBaseErc721TransactionRequestProps); } export interface IVyBaseTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; } /** * */ export declare class VyBaseTransactionRequest extends VyTransactionRequestBase { /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; constructor(initializer?: IVyBaseTransactionRequestProps); } export interface IVyBscBep20TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; } /** * */ export declare class VyBscBep20TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; constructor(initializer?: IVyBscBep20TransactionRequestProps); } export interface IVyBscContractExecutionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; } /** * */ export declare class VyBscContractExecutionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ functionName?: string; /** * * @type {Any[]} */ inputs?: Any[]; constructor(initializer?: IVyBscContractExecutionRequestProps); } export interface IVyBscErc721TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ tokenId?: number; /** * * @type {number} */ amount?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ from?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {number} */ value?: number; } /** * */ export declare class VyBscErc721TransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ tokenId?: number; /** * * @type {number} */ amount?: number; /** * * @type {string} */ to?: string; /** * * @type {string} */ from?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; /** * * @type {number} */ value?: number; constructor(initializer?: IVyBscErc721TransactionRequestProps); } export interface IVyBscTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; } /** * */ export declare class VyBscTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; constructor(initializer?: IVyBscTransactionRequestProps); } export interface IVyBtcTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ value?: number; /** * * @type {number} */ feePerByte?: number; /** * * @type {string} */ to?: string; } /** * */ export declare class VyBtcTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ value?: number; /** * * @type {number} */ feePerByte?: number; /** * * @type {string} */ to?: string; constructor(initializer?: IVyBtcTransactionRequestProps); } export interface IVyEthTransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; } /** * */ export declare class VyEthTransactionRequest extends VyTransactionRequestBase { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ data?: string; constructor(initializer?: IVyEthTransactionRequestProps); } export interface IVyEthereumErc20TransactionRequestProps extends IVyTransactionRequestBaseProps { /** * * @type {VyValidateSigningMethodRequestDto} */ signingMethod?: VyValidateSigningMethodRequestDto; /** * * @type {number} */ gasPrice?: number; /** * * @type {number} */ gas?: number; /** * * @type {number} */ nonce?: number; /** * * @type {number} */ value?: number; /** * * @type {string} */ to?: string; /** * * @type {VyNetworkDto} */ network?: VyNetworkDto; /** * * @type {string} */ tokenAddress?: string; } /** * */ expo