UNPKG

@exodus/solana-web3.js

Version:
22 lines (21 loc) 650 B
/// <reference types="node" /> import { Buffer } from 'buffer'; import type { Blockhash } from './blockhash.js'; import { PublicKey } from './publickey.js'; import type { FeeCalculator } from './fee-calculator.js'; export declare const NONCE_ACCOUNT_LENGTH: number; /** * NonceAccount class */ export declare class NonceAccount { authorizedPubkey: PublicKey; nonce: Blockhash; feeCalculator: FeeCalculator; /** * Deserialize NonceAccount from the account data. * * @param buffer account data * @return NonceAccount */ static fromAccountData(buffer: Buffer | Uint8Array | Array<number>): NonceAccount; }