| export | 之前 | 之后 |
|---|
@solana/web3.js · Logs | { err: TransactionError | null; logs: string[]; signature: string; } | { err: any; logs: string[]; signature: string; } |
@solana/web3.js · Signer | interface | any |
@solana/web3.js · Supply | { total: number; circulating: number; nonCirculating: number; nonCirculatingAccounts: PublicKey[]; } | Omit<any, "nonCirculatingAccounts"> & { nonCirculatingAccounts: PublicKey[]; } |
@solana/web3.js · Context | { slot: number; } | { slot: bigint; } |
@solana/web3.js · Lockout | { slot: number; confirmationCount: number; } | { slot: bigint; confirmationCount: number; } |
@solana/web3.js · SlotInfo | { slot: number; parent: number; root: number; } | { slot: bigint; parent: bigint; root: bigint; } |
@solana/web3.js · Blockhash | string | any |
@solana/web3.js · EpochInfo | { epoch: number; slotIndex: number; slotsInEpoch: number; absoluteSlot: number; blockHeight?: number | undefined; transactionCount?: number | undefined; } | any |
@solana/web3.js · Commitment | "processed" | "confirmed" | "finalized" | "recent" | "single" | "singleGossip" | "root" | "max" | any |
@solana/web3.js · PriorVoter | { readonly authorizedPubkey: PublicKey; readonly epochOfLastAuthorizedSwitch: number; readonly targetEpoch: number; } | { readonly authorizedPubkey: PublicKey; readonly epochOfLastAuthorizedSwitch: bigint; readonly targetEpoch: bigint; } |
@solana/web3.js · SlotUpdate | { type: "firstShredReceived"; slot: number; timestamp: number; } | { type: "completed"; slot: number; timestamp: number; } | { type: "createdBank"; slot: number; timestamp: number; parent: number; } | { type: "frozen"; slot: number; timestamp: number; stats: { numTransactionEntries: number; numSuccessfulTransactions: number; numFailedTransactions: number; maxTransactionsPerEntry: number; }; } | { type: "dead"; slot: number; timestamp: number; err: string; } | { type: "optimisticConfirmation"; slot: number; timestamp: number; } | { type: "root"; slot: number; timestamp: number; } | { type: "firstShredReceived"; slot: bigint; timestamp: bigint; } | { type: "completed"; slot: bigint; timestamp: bigint; } | { type: "createdBank"; slot: bigint; timestamp: bigint; parent: bigint; } | { type: "frozen"; slot: bigint; timestamp: bigint; stats: { numTransactionEntries: bigint; numSuccessfulTransactions: bigint; numFailedTransactions: bigint; maxTransactionsPerEntry: bigint; }; } | { type: "dead"; slot: bigint; timestamp: bigint; err: string; } | { type: "optimisticConfirmation"; slot: bigint; timestamp: bigint; } | { type: "root"; slot: bigint; timestamp: bigint; } |
@solana/web3.js · AccountInfo | { executable: boolean; owner: PublicKey; lamports: number; data: T; rentEpoch?: number | undefined; } | { executable: boolean; owner: PublicKey; lamports: bigint; data: T; rentEpoch: bigint; } |
@solana/web3.js · MessageArgs | { header: MessageHeader; accountKeys: PublicKey[] | string[]; recentBlockhash: string; instructions: CompiledInstruction[]; } | { header: MessageHeader; accountKeys: PublicKey[] | string[]; recentBlockhash: Blockhash; instructions: CompiledInstruction[]; } |
@solana/web3.js · SendOptions | { skipPreflight?: boolean | undefined; preflightCommitment?: Commitment | undefined; maxRetries?: number | undefined; minContextSlot?: number | undefined; } | {} |
@solana/web3.js · DurableNonce | string | Blockhash |
@solana/web3.js · EpochCredits | { readonly epoch: number; readonly credits: number; readonly prevCredits: number; } | { readonly epoch: bigint; readonly credits: bigint; readonly prevCredits: bigint; } |
@solana/web3.js · MemcmpFilter | { memcmp: { offset: number; } & ({ encoding?: "base58" | undefined; bytes: string; } | { encoding: "base64"; bytes: string; }); } | { memcmp: { offset: number | bigint; } & ({ encoding?: "base58" | undefined; bytes: string; } | { encoding: "base64"; bytes: string; }); } |
@solana/web3.js · BlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; transactions: { transaction: { message: Message; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; version?: TransactionVersion | undefined; }[]; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; } | BlockResponseBase & { transactions: Overwrite<TransactionForFullJson<void>, { transaction: { message: Message; signatures: string[]; }; meta: any; }>[]; } |
@solana/web3.js · CompileV0Args | { payerKey: PublicKey; instructions: TransactionInstruction[]; recentBlockhash: string; addressLookupTableAccounts?: AddressLookupTableAccount[] | undefined; } | { payerKey: PublicKey; instructions: any[]; recentBlockhash: Blockhash; addressLookupTableAccounts?: AddressLookupTableAccount[] | undefined; } |
@solana/web3.js · GetSlotConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · InflationRate | { total: number; validator: number; foundation: number; epoch: number; } | any |
@solana/web3.js · MessageV0Args | { header: MessageHeader; staticAccountKeys: PublicKey[]; recentBlockhash: string; compiledInstructions: MessageCompiledInstruction[]; addressTableLookups: MessageAddressTableLookup[]; } | { header: MessageHeader; staticAccountKeys: PublicKey[]; recentBlockhash: Blockhash; compiledInstructions: MessageCompiledInstruction[]; addressTableLookups: MessageAddressTableLookup[]; } |
@solana/web3.js · MessageV1Args | { header: MessageHeader; staticAccountKeys: PublicKey[]; recentBlockhash: string; compiledInstructions: MessageCompiledInstruction[]; transactionConfig?: TransactionConfig | null | undefined; } | { header: MessageHeader; staticAccountKeys: PublicKey[]; recentBlockhash: Blockhash; compiledInstructions: MessageCompiledInstruction[]; transactionConfig?: any; } |
@solana/web3.js · ParsedMessage | { accountKeys: ParsedMessageAccount[]; instructions: (ParsedInstruction | PartiallyDecodedInstruction)[]; recentBlockhash: string; addressTableLookups?: ParsedAddressTableLookup[] | null | undefined; transactionConfig?: TransactionConfig | null | undefined; } | Omit<Omit<TransactionForFullJsonParsed<0 | 1>, "header">, "accountKeys" | "addressTableLookups" | "instructions" | "recentBlockhash" | "transactionConfig"> & { accountKeys: ParsedMessageAccount[]; instructions: (ParsedInstruction | PartiallyDecodedInstruction)[]; recentBlockhash: string; addressTableLookups?: ParsedAddressTableLookup[] | null | undefined; transactionConfig?: any; } |
@solana/web3.js · AllocateParams | { accountPubkey: PublicKey; space: number; } | Omit<AllocateFields, "space"> & { space: number | bigint; } |
@solana/web3.js · BlockTimestamp | { readonly slot: number; readonly timestamp: number; } | { readonly slot: bigint; readonly timestamp: bigint; } |
@solana/web3.js · ConfirmOptions | { skipPreflight?: boolean | undefined; commitment?: Commitment | undefined; preflightCommitment?: Commitment | undefined; maxRetries?: number | undefined; minContextSlot?: number | undefined; } | SendOptions & { commitment?: any; } |
@solana/web3.js · ConfirmedBlock | { blockhash: string; previousBlockhash: string; parentSlot: number; transactions: { transaction: Transaction; meta: ConfirmedTransactionMeta | null; }[]; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; } | { blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; transactions: { transaction: Transaction; meta: ConfirmedTransactionMeta | null; }[]; rewards?: { pubkey: string; lamports: bigint; postBalance: bigint | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: bigint | null; } |
@solana/web3.js · DataSizeFilter | { dataSize: number; } | { dataSize: number | bigint; } |
@solana/web3.js · GetBlockConfig | { commitment?: Finality | undefined; rewards?: boolean | undefined; transactionDetails?: "accounts" | "full" | "none" | "signatures" | undefined; } | { commitment?: Finality | undefined; rewards?: boolean | undefined; transactionDetails?: "signatures" | "accounts" | "full" | "none" | undefined; } |
@solana/web3.js · GetNonceConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · LeaderSchedule | { [address: string]: number[]; } | { [address: string]: bigint[]; } |
@solana/web3.js · TransferParams | { fromPubkey: PublicKey; toPubkey: PublicKey; lamports: number | bigint; } | Omit<TransferFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · AuthorizedVoter | { readonly epoch: number; readonly authorizedVoter: PublicKey; } | { readonly epoch: bigint; readonly authorizedVoter: PublicKey; } |
@solana/web3.js · BlockProduction | { readonly byIdentity: Readonly<Record<string, readonly number[]>>; readonly range: Readonly<{ firstSlot: number; lastSlot: number; }>; } | any |
@solana/web3.js · BlockSignatures | { blockhash: string; previousBlockhash: string; parentSlot: number; signatures: string[]; blockTime: number | null; } | { blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; signatures: string[]; blockTime: bigint | null; blockHeight: bigint | null; } |
@solana/web3.js · FetchMiddleware | (info: RequestInfo | URL, init: RequestInit | undefined, fetch: (input: RequestInfo | URL, init?: RequestInit | undefined) => void) => void | (url: string, options: any, fetch: (modifiedUrl: string, modifiedOptions: any) => void) => void |
@solana/web3.js · GetSupplyConfig | { commitment?: Commitment | undefined; excludeNonCirculatingAccountsList?: boolean | undefined; } | { commitment?: any; excludeNonCirculatingAccountsList?: boolean | undefined; } |
@solana/web3.js · InflationReward | { epoch: number; effectiveSlot: number; amount: number; postBalance: number; commission?: number | null | undefined; } | any |
@solana/web3.js · SignatureResult | { err: TransactionError | null; } | { err: any; } |
@solana/web3.js · SignatureStatus | { slot: number; confirmations: number | null; err: TransactionError | null; confirmationStatus?: TransactionConfirmationStatus | undefined; } | { slot: bigint; confirmations: bigint | null; err: any; confirmationStatus: TransactionConfirmationStatus | null; } |
@solana/web3.js · VoteAccountInfo | { votePubkey: string; nodePubkey: string; activatedStake: number; epochVoteAccount: boolean; epochCredits: [number, number, number][]; commission: number; lastVote: number; } | Omit<any, "rootSlot"> & { rootSlot: bigint | null; } |
@solana/web3.js · ConnectionConfig | { httpAgent?: any; commitment?: Commitment | undefined; wsEndpoint?: string | undefined; httpHeaders?: HttpHeaders | undefined; fetch?: ((input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response>) | undefined; fetchMiddleware?: FetchMiddleware | undefined; disableRetryOnRateLimit?: boolean | undefined; confirmTransactionInitialTimeout?: number | undefined; } | { commitment?: any; wsEndpoint?: string | undefined; subscriptions?: Readonly<{ channelConfig?: Readonly<{ intervalMs?: number | undefined; maxSubscriptionsPerChannel?: number | undefined; minChannels?: number | undefined; }> | undefined; }> | undefined; httpHeaders?: HttpHeaders | undefined; fetch?: ((input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response>) | undefined; fetchMiddleware?: FetchMiddleware | undefined; disableRetryOnRateLimit?: boolean | undefined; confirmTransactionInitialTimeout?: number | undefined; } |
@solana/web3.js · GetBalanceConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · KeyedAccountInfo | { accountId: PublicKey; accountInfo: AccountInfo<Buffer>; } | { accountId: PublicKey; accountInfo: Readonly<AccountInfo<T> & { space: bigint; }>; } |
@solana/web3.js · NonceInformation | { nonce: string; nonceInstruction: TransactionInstruction; } | { nonce: Blockhash; nonceInstruction: TransactionInstruction; } |
@solana/web3.js · SplitStakeParams | { stakePubkey: PublicKey; authorizedPubkey: PublicKey; splitStakePubkey: PublicKey; lamports: number; } | Omit<SplitStakeFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · TransactionError | string | {} | TransactionError$1 |
@solana/web3.js · CompileLegacyArgs | { payerKey: PublicKey; instructions: TransactionInstruction[]; recentBlockhash: string; } | { payerKey: PublicKey; instructions: any[]; recentBlockhash: Blockhash; } |
@solana/web3.js · ParsedAccountData | { program: string; parsed: any; space: number; } | { program: string; parsed: any; space: bigint; } |
@solana/web3.js · ParsedInstruction | { program: string; programId: PublicKey; parsed: any; } | Omit<any, "programId" | "parsed"> & { programId: PublicKey; parsed: any; } |
@solana/web3.js · ParsedTransaction | { signatures: string[]; message: ParsedMessage; } | Omit<TransactionForFullJsonParsed<0 | 1>, "signatures" | "message"> & { signatures: string[]; message: ParsedMessage; } |
@solana/web3.js · PublicKeyInitData | string | number | number[] | Uint8Array<ArrayBufferLike> | PublicKeyData | any |
@solana/web3.js · VoteAccountStatus | { current: VoteAccountInfo[]; delinquent: VoteAccountInfo[]; } | Omit<any, "current" | "delinquent"> & { current: readonly VoteAccountInfo[]; delinquent: readonly VoteAccountInfo[]; } |
@solana/web3.js · AccountBalancePair | { address: PublicKey; lamports: number; } | { readonly address: PublicKey; readonly lamports: bigint; } |
@solana/web3.js · GetEpochInfoConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · RootChangeCallback | (root: number) => void | (root: bigint) => void |
@solana/web3.js · TransactionVersion | 0 | "legacy" | 1 | any |
@solana/web3.js · CreateAccountParams | { fromPubkey: PublicKey; newAccountPubkey: PublicKey; lamports: number; space: number; programId: PublicKey; } | Omit<CreateAccountFields, "lamports" | "space"> & { lamports: number | bigint; space: number | bigint; } |
@solana/web3.js · GetSlotLeaderConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · ParsedBlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; transactions: { transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; version?: TransactionVersion | undefined; }[]; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; blockHeight: number | null; } | BlockResponseBase & { transactions: Overwrite<TransactionForFullJsonParsed<0 | 1>, { transaction: ParsedTransaction; meta: ParsedBlockResponseTransactionMeta | null; version?: any; }>[]; } |
@solana/web3.js · SignaturePubkeyPair | { signature: any; publicKey: PublicKey; } | { signature: Uint8Array<ArrayBufferLike> | null; publicKey: PublicKey; } |
@solana/web3.js · TransactionResponse | { slot: number; transaction: { message: Message; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; blockTime?: number | null | undefined; } | TransactionResponseBase & Omit<TransactionForFullJson<void>, "transaction" | "meta"> & { transaction: { message: Message; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; } |
@solana/web3.js · VoteInstructionType | "Authorize" | "AuthorizeWithSeed" | "Withdraw" | "InitializeAccount" | "UpdateValidatorIdentity" | "Authorize" | "AuthorizeChecked" | "AuthorizeCheckedWithSeed" | "AuthorizeWithSeed" | "Withdraw" | "InitializeAccount" | "UpdateCommission" | "UpdateValidatorIdentity" |
@solana/web3.js · WithdrawNonceParams | { noncePubkey: PublicKey; authorizedPubkey: PublicKey; toPubkey: PublicKey; lamports: number; } | Omit<WithdrawNonceFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · WithdrawStakeParams | { stakePubkey: PublicKey; authorizedPubkey: PublicKey; toPubkey: PublicKey; lamports: number; custodianPubkey?: PublicKey | undefined; } | Omit<WithdrawStakeFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · ConfirmedTransaction | { slot: number; transaction: Transaction; meta: ConfirmedTransactionMeta | null; blockTime?: number | null | undefined; } | { slot: bigint; transaction: Transaction; meta: ConfirmedTransactionMeta | null; blockTime?: bigint | null | undefined; } |
@solana/web3.js · GetAccountInfoConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; dataSlice?: DataSlice | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; dataSlice?: DataSlice | undefined; } |
@solana/web3.js · GetBlockHeightConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · GetTransactionConfig | { commitment?: Finality | undefined; } | { commitment?: Finality | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · ParsedMessageAccount | { pubkey: PublicKey; signer: boolean; writable: boolean; source?: "transaction" | "lookupTable" | undefined; } | Omit<TransactionForAccounts<0 | 1>, "pubkey" | "signer" | "writable" | "source"> & { pubkey: PublicKey; signer: boolean; writable: boolean; source?: "transaction" | "lookupTable" | undefined; } |
@solana/web3.js · StakeInstructionType | "Authorize" | "AuthorizeWithSeed" | "Deactivate" | "Delegate" | "Initialize" | "Merge" | "Split" | "Withdraw" | "Authorize" | "AuthorizeChecked" | "AuthorizeCheckedWithSeed" | "AuthorizeWithSeed" | "DeactivateDelinquent" | "Deactivate" | "Delegate" | "GetMinimumDelegation" | "InitializeChecked" | "Initialize" | "Merge" | "MoveLamports" | "MoveStake" | "SetLockup" | "SetLockupChecked" | "Split" | "Withdraw" |
@solana/web3.js · TransactionNonceCtor | { feePayer?: PublicKey | null | undefined; minContextSlot: number; nonceInfo: NonceInformation; signatures?: SignaturePubkeyPair[] | undefined; } | { feePayer?: PublicKey | null | undefined; minContextSlot: number | bigint; nonceInfo: NonceInformation; signatures?: SignaturePubkeyPair[] | undefined; } |
@solana/web3.js · AccountChangeCallback | (accountInfo: AccountInfo<Buffer>, context: Context) => void | (accountInfo: Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }>, context: Context) => void |
@solana/web3.js · NoneModeBlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; } | { blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; blockTime: bigint | null; blockHeight: bigint | null; rewards?: { commission?: number | null | undefined; lamports: bigint; postBalance: bigint | null; pubkey: string; rewardType: string | null; }[] | undefined; } |
@solana/web3.js · ParsedTransactionMeta | { fee: number; innerInstructions?: ParsedInnerInstruction[] | null | undefined; preBalances: number[]; postBalances: number[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: TransactionError | null; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: number | undefined; costUnits?: number | undefined; } | Omit<Omit<any, "status">, "rewards" | "computeUnitsConsumed" | "fee" | "postBalances" | "preBalances" | "loadedAddresses" | "innerInstructions" | "logMessages" | "preTokenBalances" | "postTokenBalances" | "err" | "returnData"> & { fee: bigint; innerInstructions?: ParsedInnerInstruction[] | null | undefined; preBalances: bigint[]; postBalances: bigint[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: any; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: bigint | und… |
@solana/web3.js · SignatureStatusConfig | { searchTransactionHistory: boolean; } | { commitment?: any; minContextSlot?: number | bigint | undefined; searchTransactionHistory?: boolean | undefined; } |
@solana/web3.js · SystemInstructionType | "AdvanceNonceAccount" | "Allocate" | "AllocateWithSeed" | "Assign" | "AssignWithSeed" | "AuthorizeNonceAccount" | "Create" | "CreateWithSeed" | "InitializeNonceAccount" | "Transfer" | "TransferWithSeed" | "WithdrawNonceAccount" | "UpgradeNonceAccount" | "AdvanceNonceAccount" | "Allocate" | "AllocateWithSeed" | "Assign" | "AssignWithSeed" | "AuthorizeNonceAccount" | "Create" | "CreateAllowPrefund" | "CreateWithSeed" | "InitializeNonceAccount" | "Transfer" | "TransferWithSeed" | "UpgradeNonceAccount" | "WithdrawNonceAccount" |
@solana/web3.js · TransactionCtorFields | { nonceInfo?: NonceInformation | null | undefined; feePayer?: PublicKey | null | undefined; signatures?: SignaturePubkeyPair[] | undefined; recentBlockhash?: string | undefined; } | { nonceInfo?: NonceInformation | null | undefined; feePayer?: PublicKey | null | undefined; signatures?: { signature: Uint8Array<ArrayBufferLike> | null; publicKey: PublicKey; }[] | undefined; recentBlockhash?: any; } |
@solana/web3.js · AllocateWithSeedParams | { accountPubkey: PublicKey; basePubkey: PublicKey; seed: string; space: number; programId: PublicKey; } | Omit<AllocateWithSeedFields, "space"> & { space: number | bigint; } |
@solana/web3.js · ConfirmedSignatureInfo | { signature: string; slot: number; err: TransactionError | null; memo: string | null; blockTime?: number | null | undefined; confirmationStatus?: TransactionConfirmationStatus | undefined; } | { readonly [x: string]: any; readonly [x: number]: any; readonly [x: symbol]: any; readonly signature: string; } |
@solana/web3.js · IsBlockhashValidConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · TransactionMessageArgs | { payerKey: PublicKey; instructions: TransactionInstruction[]; recentBlockhash: string; } | { payerKey: PublicKey; instructions: any[]; recentBlockhash: Blockhash; transactionConfig?: any; } |
@solana/web3.js · TransferWithSeedParams | { fromPubkey: PublicKey; basePubkey: PublicKey; toPubkey: PublicKey; lamports: number | bigint; seed: string; programId: PublicKey; } | Omit<TransferWithSeedFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · VersionedBlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; transactions: { transaction: { message: VersionedMessage; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; version?: TransactionVersion | undefined; }[]; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; } | BlockResponseBase & { transactions: Overwrite<TransactionForFullJson<0 | 1>, { transaction: { message: VersionedMessage; signatures: string[]; }; meta: VersionedBlockResponseTransactionMeta | null; version?: any; }>[]; } |
@solana/web3.js · AddressLookupTableState | { deactivationSlot: bigint; lastExtendedSlot: number; lastExtendedSlotStartIndex: number; authority?: PublicKey | undefined; addresses: PublicKey[]; } | { deactivationSlot: bigint; lastExtendedSlot: bigint; lastExtendedSlotStartIndex: number; authority?: PublicKey | undefined; addresses: PublicKey[]; } |
@solana/web3.js · GetVersionedBlockConfig | { commitment?: Finality | undefined; maxSupportedTransactionVersion?: number | undefined; rewards?: boolean | undefined; transactionDetails?: "accounts" | "full" | "none" | "signatures" | undefined; } | { commitment?: Finality | undefined; maxSupportedTransactionVersion?: number | undefined; rewards?: boolean | undefined; transactionDetails?: "signatures" | "accounts" | "full" | "none" | undefined; } |
@solana/web3.js · VoteAuthorizationLayout | Readonly<{ Voter: { index: number; }; Withdrawer: { index: number; }; }> | Readonly<{ readonly Voter: { readonly index: 0; }; readonly Withdrawer: { readonly index: 1; }; }> |
@solana/web3.js · ConfirmedTransactionMeta | { fee: number; innerInstructions?: CompiledInnerInstruction[] | null | undefined; preBalances: number[]; postBalances: number[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: TransactionError | null; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: number | undefined; costUnits?: number | undefined; } | Omit<Omit<any, "status">, "rewards" | "computeUnitsConsumed" | "fee" | "postBalances" | "preBalances" | "loadedAddresses" | "innerInstructions" | "logMessages" | "preTokenBalances" | "postTokenBalances" | "err" | "returnData"> & { fee: bigint; innerInstructions?: CompiledInnerInstruction[] | null | undefined; preBalances: bigint[]; postBalances: bigint[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: any; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: bigint | u… |
@solana/web3.js · CreateNonceAccountParams | { fromPubkey: PublicKey; noncePubkey: PublicKey; authorizedPubkey: PublicKey; lamports: number; } | Omit<CreateNonceAccountFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · CreateStakeAccountParams | { fromPubkey: PublicKey; stakePubkey: PublicKey; authorized: Authorized; lockup?: Lockup | undefined; lamports: number; } | { fromPubkey: PublicKey; stakePubkey: PublicKey; authorized: Authorized; lockup?: Lockup | undefined; lamports: number | bigint; } |
@solana/web3.js · GetBlockProductionConfig | { commitment?: Commitment | undefined; range?: { firstSlot: number; lastSlot?: number | undefined; } | undefined; identity?: string | undefined; } | { commitment?: any; range?: { firstSlot: number | bigint; lastSlot?: number | bigint | undefined; } | undefined; identity?: string | undefined; } |
@solana/web3.js · GetInflationRewardConfig | { commitment?: Commitment | undefined; epoch?: number | undefined; minContextSlot?: number | undefined; } | { commitment?: any; epoch?: number | bigint | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · GetLargestAccountsConfig | { commitment?: Commitment | undefined; filter?: LargestAccountsFilter | undefined; } | { commitment?: any; filter?: LargestAccountsFilter | undefined; } |
@solana/web3.js · GetLatestBlockhashConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · GetNonceAndContextConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · GetProgramAccountsConfig | { commitment?: Commitment | undefined; encoding?: "base64" | undefined; dataSlice?: DataSlice | undefined; filters?: GetProgramAccountsFilter[] | undefined; minContextSlot?: number | undefined; withContext?: boolean | undefined; } | { commitment?: any; encoding?: "base64" | undefined; dataSlice?: DataSlice | undefined; filters?: GetProgramAccountsFilter[] | undefined; minContextSlot?: number | bigint | undefined; withContext?: boolean | undefined; } |
@solana/web3.js · ParsedAddressTableLookup | { accountKey: PublicKey; writableIndexes: number[]; readonlyIndexes: number[]; } | Omit<any, "accountKey" | "writableIndexes" | "readonlyIndexes"> & { accountKey: PublicKey; writableIndexes: number[]; readonlyIndexes: number[]; } |
@solana/web3.js · RecentPrioritizationFees | { slot: number; prioritizationFee: number; } | Omit<any, "prioritizationFee"> & { prioritizationFee: any; } |
@solana/web3.js · SplitStakeWithSeedParams | { stakePubkey: PublicKey; authorizedPubkey: PublicKey; splitStakePubkey: PublicKey; basePubkey: PublicKey; seed: string; lamports: number; } | { stakePubkey: PublicKey; authorizedPubkey: PublicKey; splitStakePubkey: PublicKey; basePubkey: PublicKey; seed: string; lamports: number | bigint; } |
@solana/web3.js · TransactionBlockhashCtor | { feePayer?: PublicKey | null | undefined; signatures?: SignaturePubkeyPair[] | undefined; blockhash: string; lastValidBlockHeight: number; } | { feePayer?: PublicKey | null | undefined; signatures?: SignaturePubkeyPair[] | undefined; blockhash: Blockhash; lastValidBlockHeight: number | bigint; } |
@solana/web3.js · AccountSubscriptionConfig | { readonly commitment?: Commitment | undefined; readonly encoding?: "base58" | "base64" | "base64+zstd" | "jsonParsed" | undefined; } | { readonly commitment?: any; readonly encoding?: "base64+zstd" | "base58" | "base64" | "jsonParsed" | undefined; } |
@solana/web3.js · AccountsModeBlockResponse | Omit<VersionedBlockResponse, "transactions"> & { transactions: (Omit<{ transaction: { message: VersionedMessage; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; version?: TransactionVersion | undefined; }, "transaction"> & { transaction: Pick<{ message: VersionedMessage; signatures: string[]; }, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; })[]; } | Omit<VersionedBlockResponse, "transactions"> & { transactions: Overwrite<TransactionForAccounts<0 | 1>, { transaction: Pick<{ message: VersionedMessage; signatures: string[]; }, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; meta: any; version?: any; }>[]; } |
@solana/web3.js · GetMultipleAccountsConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; dataSlice?: DataSlice | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; dataSlice?: DataSlice | undefined; } |
@solana/web3.js · GetTransactionCountConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · ParsedTransactionWithMeta | { slot: number; transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; blockTime?: number | null | undefined; version?: TransactionVersion | undefined; } | TransactionResponseBase & Omit<TransactionForFullJsonParsed<0 | 1>, "transaction" | "meta" | "version"> & { transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; version?: any; } |
@solana/web3.js · SimulateTransactionConfig | { sigVerify?: boolean | undefined; replaceRecentBlockhash?: boolean | undefined; commitment?: Commitment | undefined; accounts?: { encoding: "base64"; addresses: string[]; } | undefined; minContextSlot?: number | undefined; innerInstructions?: boolean | undefined; } | { sigVerify?: boolean | undefined; replaceRecentBlockhash?: boolean | undefined; commitment?: any; accounts?: { encoding: "base64"; addresses: string[]; } | undefined; minContextSlot?: number | bigint | undefined; innerInstructions?: boolean | undefined; } |
@solana/web3.js · sendAndConfirmTransaction | (connection: Connection, transaction: Transaction, signers: Signer[], options?: (ConfirmOptions & Readonly<{ abortSignal?: AbortSignal | undefined; }>) | undefined): Promise<string> | (connection: Connection, transaction: Transaction, signers: TransactionPartialSigner[], options?: (SendOptions & { commitment?: any; } & Readonly<{ abortSignal?: AbortSignal | undefined; }>) | undefined): Promise<string> |
@solana/web3.js · GetProgramAccountsResponse | readonly Readonly<{ account: AccountInfo<Buffer>; pubkey: PublicKey; }>[] | readonly Readonly<{ account: Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }>; pubkey: PublicKey; }>[] |
@solana/web3.js · ParsedConfirmedTransaction | { slot: number; transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; blockTime?: number | null | undefined; version?: TransactionVersion | undefined; } | TransactionResponseBase & Omit<TransactionForFullJsonParsed<0 | 1>, "transaction" | "meta" | "version"> & { transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; version?: any; } |
@solana/web3.js · CreateAccountWithSeedParams | { fromPubkey: PublicKey; newAccountPubkey: PublicKey; basePubkey: PublicKey; seed: string; lamports: number; space: number; programId: PublicKey; } | Omit<CreateAccountWithSeedFields, "lamports" | "space"> & { lamports: number | bigint; space: number | bigint; } |
@solana/web3.js · ParsedNoneModeBlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; blockHeight: number | null; } | { blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; blockTime: bigint | null; blockHeight: bigint | null; rewards?: { commission?: number | null | undefined; lamports: bigint; postBalance: bigint | null; pubkey: string; rewardType: string | null; }[] | undefined; } |
@solana/web3.js · PartiallyDecodedInstruction | { programId: PublicKey; accounts: PublicKey[]; data: string; } | Omit<any, "data" | "programId" | "accounts"> & { programId: PublicKey; accounts: PublicKey[]; data: string; } |
@solana/web3.js · SignaturesForAddressOptions | { before?: string | undefined; until?: string | undefined; limit?: number | undefined; minContextSlot?: number | undefined; } | { before?: string | undefined; until?: string | undefined; limit?: number | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · ComputeBudgetInstructionType | "RequestUnits" | "RequestHeapFrame" | "SetComputeUnitLimit" | "SetComputeUnitPrice" | "RequestUnits" | "RequestHeapFrame" | "SetComputeUnitLimit" | "SetComputeUnitPrice" | "SetLoadedAccountsDataSizeLimit" |
@solana/web3.js · ProgramAccountChangeCallback | (keyedAccountInfo: KeyedAccountInfo, context: Context) => void | (keyedAccountInfo: KeyedAccountInfo<Uint8Array<ArrayBufferLike>>, context: Context) => void |
@solana/web3.js · SignatureSubscriptionOptions | { commitment?: Commitment | undefined; enableReceivedNotification?: boolean | undefined; } | SignatureSubscriptionStatusOptions | SignatureSubscriptionReceivedOptions |
@solana/web3.js · SimulatedTransactionResponse | { err: TransactionError | null; logs: string[] | null; accounts?: (SimulatedTransactionAccountInfo | null)[] | null | undefined; unitsConsumed?: number | undefined; returnData?: TransactionReturnData | null | undefined; innerInstructions?: ParsedInnerInstruction[] | null | undefined; } | { err: any; logs: string[] | null; accounts?: (SimulatedTransactionAccountInfo | null)[] | null | undefined; fee?: bigint | null | undefined; preBalances?: bigint[] | null | undefined; postBalances?: bigint[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; loadedAddresses?: LoadedAddresses | null | undefined; loadedAccountsDataSize?: number | undefined; replacementBlockhash?: Readonly<{ blockhash: Blockhash; lastValidBlockHeight: bigint; }> | undefined; unitsConsumed?: bigint | undefined; returnData?: TransactionR… |
@solana/web3.js · VersionedTransactionResponse | { slot: number; transaction: { message: VersionedMessage; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; blockTime?: number | null | undefined; version?: TransactionVersion | undefined; } | TransactionResponseBase & Omit<TransactionForFullJson<0 | 1>, "transaction" | "meta" | "version"> & { transaction: { message: VersionedMessage; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; version?: any; } |
@solana/web3.js · sendAndConfirmRawTransaction | (connection: Connection, rawTransaction: Buffer, confirmationStrategy: TransactionConfirmationStrategy, options?: ConfirmOptions | undefined): Promise<string> | (connection: Connection, rawTransaction: Buffer, options?: ConfirmOptions | undefined): Promise<string> | (connection: Connection, rawTransaction: Uint8Array<ArrayBufferLike> | number[], confirmationStrategy: TransactionConfirmationStrategy, options?: ConfirmOptions | undefined): Promise<string> | (connection: Connection, rawTransaction: Uint8Array<ArrayBufferLike> | number[], options?: ConfirmOptions | undefined): Promise<string> |
@solana/web3.js · GetTokenAccountsByOwnerConfig | { commitment?: Commitment | undefined; minContextSlot?: number | undefined; } | { commitment?: any; encoding?: "base64" | undefined; dataSlice?: DataSlice | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · GetVersionedTransactionConfig | { commitment?: Finality | undefined; maxSupportedTransactionVersion?: number | undefined; } | { commitment?: Finality | undefined; maxSupportedTransactionVersion?: number | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · TransactionConfirmationStatus | "processed" | "confirmed" | "finalized" | "confirmed" | "finalized" | "processed" |
@solana/web3.js · WithdrawFromVoteAccountParams | { votePubkey: PublicKey; authorizedWithdrawerPubkey: PublicKey; lamports: number; toPubkey: PublicKey; } | { votePubkey: PublicKey; authorizedWithdrawerPubkey: PublicKey; lamports: number | bigint; toPubkey: PublicKey; } |
@solana/web3.js · BlockhashWithExpiryBlockHeight | { readonly blockhash: string; readonly lastValidBlockHeight: number; } | { readonly blockhash: Blockhash; readonly lastValidBlockHeight: bigint; } |
@solana/web3.js · GetParsedProgramAccountsConfig | { commitment?: Commitment | undefined; filters?: GetProgramAccountsFilter[] | undefined; minContextSlot?: number | undefined; } | { commitment?: any; filters?: GetProgramAccountsFilter[] | undefined; minContextSlot?: number | bigint | undefined; } |
@solana/web3.js · ParsedConfirmedTransactionMeta | { fee: number; innerInstructions?: ParsedInnerInstruction[] | null | undefined; preBalances: number[]; postBalances: number[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: TransactionError | null; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: number | undefined; costUnits?: number | undefined; } | Omit<Omit<any, "status">, "rewards" | "computeUnitsConsumed" | "fee" | "postBalances" | "preBalances" | "loadedAddresses" | "innerInstructions" | "logMessages" | "preTokenBalances" | "postTokenBalances" | "err" | "returnData"> & { fee: bigint; innerInstructions?: ParsedInnerInstruction[] | null | undefined; preBalances: bigint[]; postBalances: bigint[]; logMessages?: string[] | null | undefined; preTokenBalances?: TokenBalance[] | null | undefined; postTokenBalances?: TokenBalance[] | null | undefined; err: any; loadedAddresses?: LoadedAddresses | undefined; computeUnitsConsumed?: bigint | und… |
@solana/web3.js · VersionedNoneModeBlockResponse | { blockhash: string; previousBlockhash: string; parentSlot: number; rewards?: { pubkey: string; lamports: number; postBalance: number | null; rewardType: string | null; commission?: number | null | undefined; }[] | undefined; blockTime: number | null; } | { blockhash: Blockhash; previousBlockhash: Blockhash; parentSlot: bigint; blockTime: bigint | null; blockHeight: bigint | null; rewards?: { commission?: number | null | undefined; lamports: bigint; postBalance: bigint | null; pubkey: string; rewardType: string | null; }[] | undefined; } |
@solana/web3.js · GetStakeMinimumDelegationConfig | { commitment?: Commitment | undefined; } | { commitment?: any; } |
@solana/web3.js · ParsedAccountsModeBlockResponse | Omit<ParsedBlockResponse, "transactions"> & { transactions: (Omit<{ transaction: ParsedTransaction; meta: ParsedTransactionMeta | null; version?: TransactionVersion | undefined; }, "transaction"> & { transaction: Pick<ParsedTransaction, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; })[]; } | Omit<ParsedBlockResponse, "transactions"> & { transactions: Overwrite<TransactionForAccounts<0 | 1>, { transaction: Pick<ParsedTransaction, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; meta: any; version?: any; }>[]; } |
@solana/web3.js · SimulatedTransactionAccountInfo | { executable: boolean; owner: string; lamports: number; data: string[]; rentEpoch?: number | undefined; } | { executable: boolean; owner: string; lamports: bigint; data: string[]; rentEpoch?: bigint | undefined; space: bigint; } |
@solana/web3.js · CreateNonceAccountWithSeedParams | { fromPubkey: PublicKey; noncePubkey: PublicKey; authorizedPubkey: PublicKey; lamports: number; basePubkey: PublicKey; seed: string; } | Omit<CreateNonceAccountWithSeedFields, "lamports"> & { lamports: number | bigint; } |
@solana/web3.js · CreateStakeAccountWithSeedParams | { fromPubkey: PublicKey; stakePubkey: PublicKey; basePubkey: PublicKey; seed: string; authorized: Authorized; lockup?: Lockup | undefined; lamports: number; } | { fromPubkey: PublicKey; stakePubkey: PublicKey; basePubkey: PublicKey; seed: string; authorized: Authorized; lockup?: Lockup | undefined; lamports: number | bigint; } |
@solana/web3.js · ProgramAccountSubscriptionConfig | { readonly commitment?: Commitment | undefined; readonly encoding?: "base58" | "base64" | "base64+zstd" | "jsonParsed" | undefined; readonly filters?: GetProgramAccountsFilter[] | undefined; } | { readonly commitment?: any; readonly encoding?: "base64+zstd" | "base58" | "base64" | "jsonParsed" | undefined; readonly filters?: readonly GetProgramAccountsFilter[] | undefined; } |
@solana/web3.js · TransactionCtorFields_DEPRECATED | { nonceInfo?: NonceInformation | null | undefined; feePayer?: PublicKey | null | undefined; signatures?: SignaturePubkeyPair[] | undefined; recentBlockhash?: string | undefined; } | { nonceInfo?: NonceInformation | null | undefined; feePayer?: PublicKey | null | undefined; signatures?: { signature: Uint8Array<ArrayBufferLike> | null; publicKey: PublicKey; }[] | undefined; recentBlockhash?: any; } |
@solana/web3.js · TransactionInstructionCtorFields | { keys: AccountMeta[]; programId: PublicKey; data?: any; } | { keys: AccountMeta[]; programId: PublicKey; data?: Uint8Array<ArrayBufferLike> | undefined; } |
@solana/web3.js · VersionedAccountsModeBlockResponse | Omit<VersionedBlockResponse, "transactions"> & { transactions: (Omit<{ transaction: { message: VersionedMessage; signatures: string[]; }; meta: ConfirmedTransactionMeta | null; version?: TransactionVersion | undefined; }, "transaction"> & { transaction: Pick<{ message: VersionedMessage; signatures: string[]; }, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; })[]; } | Omit<VersionedBlockResponse, "transactions"> & { transactions: Overwrite<TransactionForAccounts<0 | 1>, { transaction: Pick<{ message: VersionedMessage; signatures: string[]; }, "signatures"> & { accountKeys: ParsedMessageAccount[]; }; meta: any; version?: any; }>[]; } |
@solana/web3.js · DurableNonceTransactionConfirmationStrategy | Readonly<{ abortSignal?: AbortSignal | undefined; signature: string; }> & { minContextSlot: number; nonceAccountPubkey: PublicKey; nonceValue: string; } | Readonly<{ abortSignal?: AbortSignal | undefined; signature: string; }> & { minContextSlot?: number | bigint | undefined; nonceAccountPubkey: PublicKey; nonceValue: Blockhash; } |
@solana/web3.js · CreateSecp256k1InstructionWithPublicKeyParams | { publicKey: any; message: any; signature: any; recoveryId: number; instructionIndex?: number | undefined; } | { publicKey: Uint8Array<ArrayBufferLike> | number[]; message: Uint8Array<ArrayBufferLike> | number[]; signature: Uint8Array<ArrayBufferLike> | number[]; recoveryId: number; instructionIndex?: number | undefined; } |
@solana/web3.js · CreateSecp256k1InstructionWithEthAddressParams | { ethAddress: any; message: any; signature: any; recoveryId: number; instructionIndex?: number | undefined; } | { ethAddress: string | Uint8Array<ArrayBufferLike> | number[]; message: Uint8Array<ArrayBufferLike> | number[]; signature: Uint8Array<ArrayBufferLike> | number[]; recoveryId: number; instructionIndex?: number | undefined; } |
@solana/web3.js · CreateSecp256k1InstructionWithPrivateKeyParams | { privateKey: any; message: any; instructionIndex?: number | undefined; } | { privateKey: Uint8Array<ArrayBufferLike> | number[]; message: Uint8Array<ArrayBufferLike> | number[]; instructionIndex?: number | undefined; } |
@solana/web3.js · BlockheightBasedTransactionConfirmationStrategy | Readonly<{ abortSignal?: AbortSignal | undefined; signature: string; }> & Readonly<{ blockhash: string; lastValidBlockHeight: number; }> | Readonly<{ abortSignal?: AbortSignal | undefined; signature: string; }> & Readonly<Overwrite<Readonly<{ blockhash: Blockhash; lastValidBlockHeight: bigint; }>, { lastValidBlockHeight: number | bigint; }>> |