Vigia

@solana/web3.js upgraden van 1.x naar 3.x

Vergelijking van de publieke API van @solana/web3.js 1.99.0 en 3.1.1, automatisch berekend uit hun TypeScript-types. Een gewijzigde signatuur is een mogelijke brekende wijziging, geen zekerheid.

Samenvatting

Verwijderde importpaden0
Verwijderde exports16
Gewijzigde signaturen142
Verwijderde leden van klassen of interfaces17
Gewijzigde leden van klassen of interfaces142
Nieuw als verouderd gemarkeerd0
Gewijzigde vereisten (engines, peer-afhankelijkheden)1
Nieuwe exports111

Verwijderde exports

importexportkindVoor
@solana/web3.jsEnumclassclass
@solana/web3.jsStructclassclass
@solana/web3.jsAccountclassclass
@solana/web3.jsFetchFntype(input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response>
@solana/web3.jsVersiontype{ 'solana-core': string; 'feature-set'?: number | undefined; }
@solana/web3.jsPerfSampletype{ slot: number; numTransactions: number; numSlots: number; samplePeriodSecs: number; }
@solana/web3.jsFeeCalculatorinterfaceinterface
@solana/web3.jsPublicKeyDatatype{}
@solana/web3.jsSOLANA_SCHEMAvariableMap<Function, any>
@solana/web3.jsEd25519Keypairinterfaceinterface
@solana/web3.jsTransactionConfigtype{ computeUnitLimit: number | null; heapSize: number | null; loadedAccountsDataSizeLimit: number | null; priorityFee: number | null; }
@solana/web3.jsStakeActivationDatatype{ state: "active" | "inactive" | "activating" | "deactivating"; active: number; inactive: number; }
@solana/web3.jsGetStakeActivationConfigtype{ commitment?: Commitment | undefined; epoch?: number | undefined; minContextSlot?: number | undefined; }
@solana/web3.jsVERSION_1_MESSAGE_PREFIXvariable129
@solana/web3.jsV1_TRANSACTION_SIZE_LIMITvariable4096
@solana/web3.jsConfirmedSignaturesForAddress2Optionstype{ before?: string | undefined; until?: string | undefined; limit?: number | undefined; }

Gewijzigde signaturen

exportVoorNa
@solana/web3.js · Logs{ err: TransactionError | null; logs: string[]; signature: string; }{ err: any; logs: string[]; signature: string; }
@solana/web3.js · Signerinterfaceany
@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 · Blockhashstringany
@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 · DurableNoncestringBlockhash
@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 · TransactionErrorstring | {}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 · PublicKeyInitDatastring | number | number[] | Uint8Array<ArrayBufferLike> | PublicKeyDataany
@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 · TransactionVersion0 | "legacy" | 1any
@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 · VoteAuthorizationLayoutReadonly<{ 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 · AccountsModeBlockResponseOmit<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 · GetProgramAccountsResponsereadonly 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 · ParsedAccountsModeBlockResponseOmit<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 · VersionedAccountsModeBlockResponseOmit<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 · DurableNonceTransactionConfirmationStrategyReadonly<{ 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 · BlockheightBasedTransactionConfirmationStrategyReadonly<{ 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; }>>

Verwijderde leden van klassen of interfaces

memberimportVoor
Keypair._keypair@solana/web3.jsany
MessageV0.serializeInstructions@solana/web3.jsany
MessageV0.serializeAddressTableLookups@solana/web3.jsany
MessageV1.addressTableLookups@solana/web3.jsMessageAddressTableLookup[]
PublicKey.toBuffer@solana/web3.js(): Buffer
PublicKey.static unique@solana/web3.js(): PublicKey
PublicKey.static findProgramAddressSync@solana/web3.js(seeds: any[], programId: PublicKey): [PublicKey, number]
PublicKey.static createProgramAddressSync@solana/web3.js(seeds: any[], programId: PublicKey): PublicKey
Connection._buildArgs@solana/web3.js(args: any[], override?: Commitment | undefined, encoding?: "base64" | "jsonParsed" | undefined, extra?: any): any[]
Connection.getTotalSupply@solana/web3.js(commitment?: Commitment | undefined): Promise<number>
Connection.getRecentBlockhash@solana/web3.js(commitment?: Commitment | undefined): Promise<{ blockhash: string; feeCalculator: FeeCalculator; }>
Connection.getStakeActivation@solana/web3.js(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetStakeActivationConfig | undefined, epoch?: number | undefined): Promise<StakeActivationData>
Connection.getFeeCalculatorForBlockhash@solana/web3.js(blockhash: string, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<FeeCalculator | null>>
Connection.getRecentBlockhashAndContext@solana/web3.js(commitment?: Commitment | undefined): Promise<RpcResponseAndContext<{ blockhash: string; feeCalculator: FeeCalculator; }>>
Connection.getConfirmedSignaturesForAddress@solana/web3.js(address: PublicKey, startSlot: number, endSlot: number): Promise<string[]>
Connection.getConfirmedSignaturesForAddress2@solana/web3.js(address: PublicKey, options?: ConfirmedSignaturesForAddress2Options | undefined, commitment?: Finality | undefined): Promise<ConfirmedSignatureInfo[]>
VersionedTransaction.static deserializeV1@solana/web3.jsany

Gewijzigde leden van klassen of interfaces

memberVoorNa
Loader.static load(connection: Connection, payer: Signer, program: Signer, programId: PublicKey, data: any): Promise<boolean>(connection: Connection, payer: TransactionPartialSigner, program: TransactionPartialSigner, programId: PublicKey, data: Uint8Array<ArrayBufferLike> | number[]): Promise<boolean>
Keypair.constructor(keypair?: Ed25519Keypair | undefined): Keypair(): Keypair
Keypair.static fromSeed(seed: Uint8Array<ArrayBufferLike>): Keypair(seed: Uint8Array<ArrayBufferLike>): Promise<Keypair>
Keypair.static generate(): Keypair(): Promise<Keypair>
Keypair.static fromSecretKey(secretKey: Uint8Array<ArrayBufferLike>, options?: { skipValidation?: boolean | undefined; } | undefined): Keypair(secretKey: Uint8Array<ArrayBufferLike>): Promise<Keypair>
Message.headerMessageHeaderReadonly<MessageHeader>
Message.serialize(): Buffer(): Uint8Array<ArrayBufferLike>
Message.static from(buffer: any): Message(buffer: Uint8Array<ArrayBufferLike> | number[]): Message
Message.recentBlockhashstringBlockhash
BpfLoader.static load(connection: Connection, payer: Signer, program: Signer, elf: any, loaderProgramId: PublicKey): Promise<boolean>(connection: Connection, payer: TransactionPartialSigner, program: TransactionPartialSigner, elf: Uint8Array<ArrayBufferLike> | number[], loaderProgramId: PublicKey): Promise<boolean>
MessageV0.headerMessageHeaderReadonly<MessageHeader>
MessageV0.recentBlockhashstringBlockhash
MessageV1.headerMessageHeaderReadonly<MessageHeader>
MessageV1.recentBlockhashstringBlockhash
MessageV1.transactionConfigTransactionConfigany
PublicKey.encode(): Buffer(): Uint8Array<ArrayBufferLike>
PublicKey.equals(publicKey: PublicKey): boolean(address: PublicKey): boolean
PublicKey.toBase58(): string(): Address
PublicKey.constructor(value: PublicKeyInitData): PublicKey(value: any): PublicKey
PublicKey.static decode(data: Buffer): any(data: Uint8Array<ArrayBufferLike> | number[]): PublicKey
PublicKey.static isOnCurve(pubkeyData: PublicKeyInitData): boolean(addressData: any): boolean
PublicKey.static decodeUnchecked(data: Buffer): any(data: Uint8Array<ArrayBufferLike> | number[]): PublicKey
Connection.onLogs(filter: LogsFilter, callback: LogsCallback, commitment?: Commitment | undefined): number(filter: LogsFilter, callback: LogsCallback, commitment?: any): number
Connection.getSlot(commitmentOrConfig?: Commitment | GetSlotConfig | undefined): Promise<number>(commitmentOrConfig?: any): Promise<any>
Connection.getBlock(slot: number, rawConfig?: GetBlockConfig | undefined): Promise<BlockResponse | null> | (slot: number, rawConfig: GetBlockConfig & { transactionDetails: "accounts"; }): Promise<VersionedAccountsModeBlockResponse | null> | (slot: number, rawConfig: GetBlockConfig & { transactionDetails: "none"; }): P…(slot: number | bigint, rawConfig: GetBlockConfig & { transactionDetails: "accounts"; }): Promise<VersionedAccountsModeBlockResponse | null> | (slot: number | bigint, rawConfig: GetBlockConfig & { transactionDetails: "none"; }): Promise<VersionedNoneModeBlockResponse | null> | (slot: number | bigint…
Connection.getNonce(nonceAccount: PublicKey, commitmentOrConfig?: Commitment | GetNonceConfig | undefined): Promise<NonceAccount | null>(nonceAccount: PublicKey, commitmentOrConfig?: any): Promise<NonceAccount | null>
Connection.getBlocks(startSlot: number, endSlot?: number | undefined, commitment?: Finality | undefined): Promise<number[]>(startSlot: number | bigint, endSlot?: number | bigint | undefined, commitment?: Finality | undefined): Promise<any> | (startSlot: number | bigint, endSlot?: number | bigint | undefined, config?: GetBlocksConfig | undefined): Promise<any> | (startSlot: number | bigint, config?: GetBlocksConfig | und…
Connection.getSupply(config?: Commitment | GetSupplyConfig | undefined): Promise<RpcResponseAndContext<Supply>>(config?: any): Promise<GetSupplyResult>
Connection.commitmentCommitment | undefinedany
Connection.getBalance(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetBalanceConfig | undefined): Promise<number>(publicKey: PublicKey, commitmentOrConfig?: any): Promise<any>
Connection.getVersion(): Promise<Version>(): Promise<any>
Connection.constructor(endpoint: string, commitmentOrConfig?: Commitment | ConnectionConfig | undefined): Connection(endpoint: string, commitmentOrConfig?: any): Connection
Connection.onSignature(signature: string, callback: SignatureResultCallback, commitment?: Commitment | undefined): number(signature: string, callback: SignatureResultCallback, commitment?: any): number
Connection.getBlockTime(slot: number): Promise<number | null>(slot: number | bigint): Promise<any>
Connection.getEpochInfo(commitmentOrConfig?: Commitment | GetEpochInfoConfig | undefined): Promise<EpochInfo>(commitmentOrConfig?: any): Promise<any>
Connection.getSlotLeader(commitmentOrConfig?: Commitment | GetSlotLeaderConfig | undefined): Promise<string>(commitmentOrConfig?: any): Promise<string>
Connection.getAccountInfo(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig | undefined): Promise<AccountInfo<Buffer> | null>(publicKey: PublicKey, commitmentOrConfig?: any): Promise<Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }> | null>
Connection.getBlockHeight(commitmentOrConfig?: Commitment | GetBlockHeightConfig | undefined): Promise<number>(commitmentOrConfig?: any): Promise<bigint>
Connection.getGenesisHash(): Promise<string>(): Promise<any>
Connection.getParsedBlock(slot: number, rawConfig?: GetVersionedBlockConfig | undefined): Promise<ParsedAccountsModeBlockResponse> | (slot: number, rawConfig: GetVersionedBlockConfig & { transactionDetails: "accounts"; }): Promise<ParsedAccountsModeBlockResponse> | (slot: number, rawConfig: GetVersionedBlockConfig & { trans…(slot: number | bigint, rawConfig: GetVersionedBlockConfig & { transactionDetails: "accounts"; }): Promise<ParsedAccountsModeBlockResponse | null> | (slot: number | bigint, rawConfig: GetVersionedBlockConfig & { transactionDetails: "none"; }): Promise<ParsedNoneModeBlockResponse | null> | (slot: num…
Connection.getSlotLeaders(startSlot: number, limit: number): Promise<PublicKey[]>(startSlot: number | bigint, limit: number): Promise<PublicKey[]>
Connection.getTokenSupply(tokenMintAddress: PublicKey, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<TokenAmount>>(tokenMintAddress: PublicKey, commitmentOrConfig?: any): Promise<any>
Connection.requestAirdrop(to: PublicKey, lamports: number): Promise<string>(to: PublicKey, lamports: number, commitmentOrConfig?: any): Promise<string>
Connection.getClusterNodes(): Promise<ContactInfo[]>(): Promise<any>
Connection.getTransactions(signatures: string[], commitmentOrConfig?: GetTransactionConfig | Finality | undefined): Promise<(TransactionResponse | null)[]> | (signatures: string[], commitmentOrConfig: GetVersionedTransactionConfig | Finality): Promise<(VersionedTransactionResponse | null)[]>(signatures: string[], commitmentOrConfig?: Finality | GetTransactionConfig | undefined): Promise<(TransactionResponse | null)[]> | (signatures: string[], commitmentOrConfig: Finality | GetVersionedTransactionConfig): Promise<(VersionedTransactionResponse | null)[]>
Connection.getVoteAccounts(commitment?: Commitment | undefined): Promise<VoteAccountStatus>(commitmentOrConfig?: any): Promise<VoteAccountStatus>
Connection.onAccountChange(publicKey: PublicKey, callback: AccountChangeCallback, config?: Readonly<{ commitment?: Commitment | undefined; encoding?: "base58" | "base64" | "base64+zstd" | "jsonParsed" | undefined; }> | undefined): number | (publicKey: PublicKey, callback: AccountChangeCallback, commitment?: Commitment | unde…(publicKey: PublicKey, callback: ParsedAccountChangeCallback, config: Readonly<{ commitment?: any; encoding: "jsonParsed"; }>): number | (publicKey: PublicKey, callback: Base64ZstdAccountChangeCallback, config: Readonly<{ commitment?: any; encoding: "base64+zstd"; }>): number | (publicKey: PublicKey…
Connection.sendTransaction(transaction: Transaction, signers: Signer[], options?: SendOptions | undefined): Promise<string> | (transaction: VersionedTransaction, options?: SendOptions | undefined): Promise<string>(transaction: Transaction, signers: TransactionPartialSigner[], options?: SendOptions | undefined): Promise<string> | (transaction: VersionedTransaction, options?: SendOptions | undefined): Promise<string>
Connection.getFeeForMessage(message: VersionedMessage, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<number | null>>(message: VersionedMessage, commitmentOrConfig?: any): Promise<any>
Connection.getInflationRate(): Promise<InflationRate>(): Promise<any>
Connection.isBlockhashValid(blockhash: string, rawConfig?: IsBlockhashValidConfig | undefined): Promise<RpcResponseAndContext<boolean>>(blockhash: Blockhash, rawConfig?: IsBlockhashValidConfig | undefined): Promise<any>
Connection.getConfirmedBlock(slot: number, commitment?: Finality | undefined): Promise<ConfirmedBlock>(slot: number | bigint, commitment?: Finality | undefined): Promise<ConfirmedBlock>
Connection.getLeaderSchedule(): Promise<LeaderSchedule>(slotOrCommitmentOrConfig?: any, commitmentOrConfig?: any): Promise<LeaderSchedule | null>
Connection.confirmTransaction(strategy: TransactionConfirmationStrategy, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<SignatureResult>> | (strategy: string, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<SignatureResult>>(strategy: TransactionConfirmationStrategy, commitment?: any): Promise<RpcResponseAndContext<SignatureResult>> | (strategy: string, commitment?: any): Promise<RpcResponseAndContext<SignatureResult>>
Connection.getBlockProduction(configOrCommitment?: Commitment | GetBlockProductionConfig | undefined): Promise<RpcResponseAndContext<Readonly<{ byIdentity: Readonly<Record<string, readonly number[]>>; range: Readonly<{ firstSlot: number; lastSlot: number; }>; }>>>(configOrCommitment?: any): Promise<any>
Connection.getBlockSignatures(slot: number, commitment?: Finality | undefined): Promise<BlockSignatures>(slot: number | bigint, commitment?: Finality | undefined): Promise<BlockSignatures>
Connection.getInflationReward(addresses: PublicKey[], epoch?: number | undefined, commitmentOrConfig?: Commitment | GetInflationRewardConfig | undefined): Promise<(InflationReward | null)[]>(addresses: PublicKey[], epoch?: number | bigint | undefined, commitmentOrConfig?: any): Promise<any[]>
Connection.getLargestAccounts(config?: GetLargestAccountsConfig | undefined): Promise<RpcResponseAndContext<AccountBalancePair[]>>(config?: GetLargestAccountsConfig | undefined): Promise<GetLargestAccountsWithPublicKeys>
Connection.getLatestBlockhash(commitmentOrConfig?: Commitment | GetLatestBlockhashConfig | undefined): Promise<Readonly<{ blockhash: string; lastValidBlockHeight: number; }>>(commitmentOrConfig?: any): Promise<Readonly<{ blockhash: Blockhash; lastValidBlockHeight: bigint; }>>
Connection.getNonceAndContext(nonceAccount: PublicKey, commitmentOrConfig?: Commitment | GetNonceAndContextConfig | undefined): Promise<RpcResponseAndContext<NonceAccount | null>>(nonceAccount: PublicKey, commitmentOrConfig?: any): Promise<RpcResponseAndContext<NonceAccount | null>>
Connection.getProgramAccounts(programId: PublicKey, configOrCommitment: GetProgramAccountsConfig & Readonly<{ withContext: true; }>): Promise<RpcResponseAndContext<GetProgramAccountsResponse>> | (programId: PublicKey, configOrCommitment?: Commitment | GetProgramAccountsConfig | undefined): Promise<GetProgramAccountsResponse>(programId: PublicKey, configOrCommitment: GetProgramAccountsConfig & Readonly<{ withContext: true; }>): Promise<RpcResponseAndContext<GetProgramAccountsResponse>> | (programId: PublicKey, configOrCommitment?: any): Promise<GetProgramAccountsResponse>
Connection.sendRawTransaction(rawTransaction: any, options?: SendOptions | undefined): Promise<string>(rawTransaction: Uint8Array<ArrayBufferLike> | number[], options?: SendOptions | undefined): Promise<string>
Connection.getTransactionCount(commitmentOrConfig?: Commitment | GetTransactionCountConfig | undefined): Promise<number>(commitmentOrConfig?: any): Promise<bigint>
Connection.simulateTransaction(transactionOrMessage: Message | Transaction, signers?: Signer[] | undefined, includeAccounts?: boolean | PublicKey[] | undefined): Promise<RpcResponseAndContext<SimulatedTransactionResponse>> | (transaction: VersionedTransaction, config?: SimulateTransactionConfig | undefined): Promise<RpcResponseA…(transactionOrMessage: Message | Transaction, signers?: TransactionPartialSigner[] | undefined, includeAccounts?: boolean | PublicKey[] | undefined): Promise<RpcResponseAndContext<SimulatedTransactionResponse>> | (transaction: VersionedTransaction, config?: SimulateTransactionConfig | undefined): Pr…
Connection.getBalanceAndContext(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetBalanceConfig | undefined): Promise<RpcResponseAndContext<number>>(publicKey: PublicKey, commitmentOrConfig?: any): Promise<any>
Connection.getInflationGovernor(commitment?: Commitment | undefined): Promise<InflationGovernor>(commitmentOrConfig?: any): Promise<InflationGovernor>
Connection.getMinimumLedgerSlot(): Promise<number>(): Promise<any>
Connection.getParsedAccountInfo(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig | undefined): Promise<RpcResponseAndContext<AccountInfo<any> | null>>(publicKey: PublicKey, commitmentOrConfig?: any): Promise<RpcResponseAndContext<Readonly<AccountInfo<Uint8Array<ArrayBufferLike> | ParsedAccountData> & { space: bigint; }> | null>>
Connection.getParsedTransaction(signature: string, commitmentOrConfig?: GetVersionedTransactionConfig | Finality | undefined): Promise<ParsedTransactionWithMeta | null>(signature: string, commitmentOrConfig?: Finality | GetVersionedTransactionConfig | undefined): Promise<ParsedTransactionWithMeta | null>
Connection.getParsedTransactions(signatures: string[], commitmentOrConfig?: GetVersionedTransactionConfig | Finality | undefined): Promise<(ParsedTransactionWithMeta | null)[]>(signatures: string[], commitmentOrConfig?: Finality | GetVersionedTransactionConfig | undefined): Promise<(ParsedTransactionWithMeta | null)[]>
Connection.getFirstAvailableBlock(): Promise<number>(): Promise<any>
Connection.getTokenAccountBalance(tokenAddress: PublicKey, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<TokenAmount>>(tokenAddress: PublicKey, commitmentOrConfig?: any): Promise<any>
Connection.onProgramAccountChange(programId: PublicKey, callback: ProgramAccountChangeCallback, config?: Readonly<{ commitment?: Commitment | undefined; encoding?: "base58" | "base64" | "base64+zstd" | "jsonParsed" | undefined; filters?: GetProgramAccountsFilter[] | undefined; }> | undefined): number | (programId: PublicKey, callba…(programId: PublicKey, callback: ParsedProgramAccountChangeCallback, config: Readonly<{ commitment?: any; encoding: "jsonParsed"; filters?: readonly GetProgramAccountsFilter[] | undefined; }>): number | (programId: PublicKey, callback: Base64ZstdProgramAccountChangeCallback, config: Readonly<{ commi…
Connection.onSignatureWithOptions(signature: string, callback: SignatureSubscriptionCallback, options?: SignatureSubscriptionOptions | undefined): number(signature: string, callback: SignatureResultCallback, options?: SignatureSubscriptionStatusOptions | undefined): number | (signature: string, callback: SignatureSubscriptionCallback, options: SignatureSubscriptionReceivedOptions): number
Connection.getMultipleAccountsInfo(publicKeys: PublicKey[], commitmentOrConfig?: Commitment | GetMultipleAccountsConfig | undefined): Promise<(AccountInfo<Buffer> | null)[]>(publicKeys: PublicKey[], commitmentOrConfig?: any): Promise<(Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }> | null)[]>
Connection.getSignaturesForAddress(address: PublicKey, options?: SignaturesForAddressOptions | undefined, commitment?: Finality | undefined): Promise<ConfirmedSignatureInfo[]>(address: PublicKey, options?: SignaturesForAddressOptions | undefined, commitment?: Finality | undefined): Promise<Readonly<Overwrite<any, { signature: string; }>>[]>
Connection.getTokenAccountsByOwner(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitmentOrConfig?: Commitment | GetTokenAccountsByOwnerConfig | undefined): Promise<RpcResponseAndContext<GetProgramAccountsResponse>>(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitmentOrConfig?: any): Promise<RpcResponseAndContext<GetProgramAccountsResponse>>
Connection.getTokenLargestAccounts(mintAddress: PublicKey, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<TokenAccountBalancePair[]>>(mintAddress: PublicKey, commitmentOrConfig?: any): Promise<GetTokenLargestAccountsWithPublicKeys>
Connection.getAccountInfoAndContext(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig | undefined): Promise<RpcResponseAndContext<AccountInfo<Buffer> | null>>(publicKey: PublicKey, commitmentOrConfig?: any): Promise<RpcResponseAndContext<Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }> | null>>
Connection.getParsedProgramAccounts(programId: PublicKey, configOrCommitment?: Commitment | GetParsedProgramAccountsConfig | undefined): Promise<{ pubkey: PublicKey; account: AccountInfo<any>; }[]>(programId: PublicKey, configOrCommitment?: any): Promise<{ pubkey: PublicKey; account: Readonly<AccountInfo<Uint8Array<ArrayBufferLike> | ParsedAccountData> & { space: bigint; }>; }[]>
Connection.getMultipleParsedAccounts(publicKeys: PublicKey[], rawConfig?: GetMultipleAccountsConfig | undefined): Promise<RpcResponseAndContext<(AccountInfo<any> | null)[]>>(publicKeys: PublicKey[], rawConfig?: GetMultipleAccountsConfig | undefined): Promise<RpcResponseAndContext<(Readonly<AccountInfo<Uint8Array<ArrayBufferLike> | ParsedAccountData> & { space: bigint; }> | null)[]>>
Connection.getStakeMinimumDelegation(config?: GetStakeMinimumDelegationConfig | undefined): Promise<RpcResponseAndContext<number>>(config?: GetStakeMinimumDelegationConfig | undefined): Promise<any>
Connection.getConfirmedBlockSignatures(slot: number, commitment?: Finality | undefined): Promise<BlockSignatures>(slot: number | bigint, commitment?: Finality | undefined): Promise<BlockSignatures>
Connection.getRecentPerformanceSamples(limit?: number | undefined): Promise<PerfSample[]>(limit?: number | undefined): Promise<any>
Connection.getRecentPrioritizationFees(config?: GetRecentPrioritizationFeesConfig | undefined): Promise<RecentPrioritizationFees[]>(config?: GetRecentPrioritizationFeesConfig | undefined): Promise<readonly RecentPrioritizationFees[]>
Connection.getLatestBlockhashAndContext(commitmentOrConfig?: Commitment | GetLatestBlockhashConfig | undefined): Promise<RpcResponseAndContext<Readonly<{ blockhash: string; lastValidBlockHeight: number; }>>>(commitmentOrConfig?: any): Promise<RpcResponseAndContext<Readonly<{ blockhash: Blockhash; lastValidBlockHeight: bigint; }>>>
Connection.getParsedTokenAccountsByOwner(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitment?: Commitment | undefined): Promise<RpcResponseAndContext<{ pubkey: PublicKey; account: AccountInfo<ParsedAccountData>; }[]>>(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitmentOrConfig?: any): Promise<RpcResponseAndContext<{ pubkey: PublicKey; account: Readonly<AccountInfo<ParsedAccountData> & { space: bigint; }>; }[]>>
Connection.getMinimumBalanceForRentExemption(dataLength: number, commitment?: Commitment | undefined): Promise<number>(dataLength: number, commitmentOrConfig?: any): Promise<any>
Connection.getMultipleAccountsInfoAndContext(publicKeys: PublicKey[], commitmentOrConfig?: Commitment | GetMultipleAccountsConfig | undefined): Promise<RpcResponseAndContext<(AccountInfo<Buffer> | null)[]>>(publicKeys: PublicKey[], commitmentOrConfig?: any): Promise<RpcResponseAndContext<(Readonly<AccountInfo<Uint8Array<ArrayBufferLike>> & { space: bigint; }> | null)[]>>
Transaction.add(...items: (TransactionInstruction | Transaction | TransactionInstructionCtorFields)[]): Transaction(...items: any[]): Transaction
Transaction.sign(...signers: Signer[]): void(...signers: TransactionPartialSigner[]): Promise<void>
Transaction.serialize(config?: SerializeConfig | undefined): Buffer(config?: SerializeConfig | undefined): Promise<Uint8Array<ArrayBufferLike>>
Transaction.signatureanyUint8Array<ArrayBufferLike> | null
Transaction.partialSign(...signers: Signer[]): void(...signers: TransactionPartialSigner[]): Promise<void>
Transaction.static from(buffer: any): Transaction(buffer: Uint8Array<ArrayBufferLike> | number[]): Transaction
Transaction.addSignature(pubkey: PublicKey, signature: Buffer): void(pubkey: PublicKey, signature: Uint8Array<ArrayBufferLike>): void
Transaction.getEstimatedFee(connection: Connection): Promise<number | null>(connection: Connection): Promise<any>
Transaction.recentBlockhashstring | undefinedany
Transaction.serializeMessage(): Buffer(): Uint8Array<ArrayBufferLike>
Transaction.verifySignatures(requireAllSignatures?: boolean | undefined): boolean(requireAllSignatures?: boolean | undefined): Promise<boolean>
Transaction.minNonceContextSlotnumber | undefinednumber | bigint | undefined
Transaction.lastValidBlockHeightnumber | undefinednumber | bigint | undefined
VoteAccount.rootSlotnumber | nullbigint | null
VoteAccount.priorVotersReadonly<{ authorizedPubkey: PublicKey; epochOfLastAuthorizedSwitch: number; targetEpoch: number; }>[]Readonly<{ authorizedPubkey: PublicKey; epochOfLastAuthorizedSwitch: bigint; targetEpoch: bigint; }>[]
VoteAccount.epochCreditsReadonly<{ epoch: number; credits: number; prevCredits: number; }>[]Readonly<{ epoch: bigint; credits: bigint; prevCredits: bigint; }>[]
VoteAccount.lastTimestampReadonly<{ slot: number; timestamp: number; }>Readonly<{ slot: bigint; timestamp: bigint; }>
VoteAccount.authorizedVotersReadonly<{ epoch: number; authorizedVoter: PublicKey; }>[]Readonly<{ epoch: bigint; authorizedVoter: PublicKey; }>[]
VoteAccount.static fromAccountData(buffer: any): VoteAccount(bufferLike: Uint8Array<ArrayBufferLike> | number[]): VoteAccount
VoteProgram.static safeWithdraw(params: WithdrawFromVoteAccountParams, currentVoteAccountBalance: number, rentExemptMinimum: number): Transaction(params: WithdrawFromVoteAccountParams, currentVoteAccountBalance: number | bigint, rentExemptMinimum: number | bigint): Transaction
NonceAccount.noncestringBlockhash
NonceAccount.feeCalculatorFeeCalculator{ lamportsPerSignature: number; }
NonceAccount.static fromAccountData(buffer: any): NonceAccount(buffer: Uint8Array<ArrayBufferLike> | number[]): NonceAccount
EpochSchedule.getEpoch(slot: number): number(slot: bigint): bigint
EpochSchedule.constructor(slotsPerEpoch: number, leaderScheduleSlotOffset: number, warmup: boolean, firstNormalEpoch: number, firstNormalSlot: number): EpochSchedule(slotsPerEpoch: bigint, leaderScheduleSlotOffset: bigint, warmup: boolean, firstNormalEpoch: bigint, firstNormalSlot: bigint): EpochSchedule
EpochSchedule.slotsPerEpochnumberbigint
EpochSchedule.firstNormalSlotnumberbigint
EpochSchedule.getSlotsInEpoch(epoch: number): number(epoch: bigint): bigint
EpochSchedule.firstNormalEpochnumberbigint
EpochSchedule.getLastSlotInEpoch(epoch: number): number(epoch: bigint): bigint
EpochSchedule.getFirstSlotInEpoch(epoch: number): number(epoch: bigint): bigint
EpochSchedule.getEpochAndSlotIndex(slot: number): [number, number](slot: bigint): [bigint, bigint]
EpochSchedule.leaderScheduleSlotOffsetnumberbigint
ValidatorInfo.static fromConfigData(buffer: any): ValidatorInfo | null(buffer: Uint8Array<ArrayBufferLike> | number[]): ValidatorInfo | null
Ed25519Program.static createInstructionWithPrivateKey(params: CreateEd25519InstructionWithPrivateKeyParams): TransactionInstruction(params: CreateEd25519InstructionWithPrivateKeyParams): Promise<TransactionInstruction>
VoteInstruction.static decodeWithdraw(instruction: TransactionInstruction): WithdrawFromVoteAccountParams(instruction: TransactionInstruction): DecodedWithdrawFromVoteAccountParams
Secp256k1Program.static publicKeyToEthAddress(publicKey: any): Buffer(publicKey: Uint8Array<ArrayBufferLike> | number[]): Uint8Array<ArrayBufferLike>
StakeInstruction.static decodeSplit(instruction: TransactionInstruction): SplitStakeParams(instruction: TransactionInstruction): SplitStakeFields
StakeInstruction.static decodeWithdraw(instruction: TransactionInstruction): WithdrawStakeParams(instruction: TransactionInstruction): WithdrawStakeFields
StakeInstruction.static decodeInstructionType(instruction: TransactionInstruction): StakeInstructionType(instruction: TransactionInstruction): "Authorize" | "AuthorizeChecked" | "AuthorizeCheckedWithSeed" | "AuthorizeWithSeed" | "DeactivateDelinquent" | "Deactivate" | "Delegate" | "GetMinimumDelegation" | "InitializeChecked" | "Initialize" | "Merge" | "MoveLamports" | "MoveStake" | "SetLockup" | "SetL…
SystemInstruction.static decodeAllocate(instruction: TransactionInstruction): AllocateParams(instruction: TransactionInstruction): AllocateFields
SystemInstruction.static decodeTransfer(instruction: TransactionInstruction): DecodedTransferInstruction(instruction: TransactionInstruction): TransferFields
SystemInstruction.static decodeCreateAccount(instruction: TransactionInstruction): CreateAccountParams(instruction: TransactionInstruction): CreateAccountFields
SystemInstruction.static decodeNonceWithdraw(instruction: TransactionInstruction): WithdrawNonceParams(instruction: TransactionInstruction): WithdrawNonceFields
SystemInstruction.static decodeCreateWithSeed(instruction: TransactionInstruction): CreateAccountWithSeedParams(instruction: TransactionInstruction): CreateAccountWithSeedFields
SystemInstruction.static decodeInstructionType(instruction: TransactionInstruction): SystemInstructionType(instruction: TransactionInstruction): "AdvanceNonceAccount" | "Allocate" | "AllocateWithSeed" | "Assign" | "AssignWithSeed" | "AuthorizeNonceAccount" | "Create" | "CreateAllowPrefund" | "CreateWithSeed" | "InitializeNonceAccount" | "Transfer" | "TransferWithSeed" | "UpgradeNonceAccount" | "Withdraw…
SystemInstruction.static decodeAllocateWithSeed(instruction: TransactionInstruction): AllocateWithSeedParams(instruction: TransactionInstruction): AllocateWithSeedFields
SystemInstruction.static decodeTransferWithSeed(instruction: TransactionInstruction): DecodedTransferWithSeedInstruction(instruction: TransactionInstruction): TransferWithSeedFields
MessageAccountKeys.compileInstructions(instructions: TransactionInstruction[]): MessageCompiledInstruction[](instructions: Required<TransactionInstructionCtorFields>[]): MessageCompiledInstruction[]
TransactionMessage.recentBlockhashstringBlockhash
VersionedTransaction.sign(signers: Signer[]): void(signers: TransactionPartialSigner[], config?: VersionedTransactionSignConfig | undefined): Promise<void>
TransactionInstruction.dataBufferUint8Array<ArrayBufferLike>
AddressLookupTableProgram.static createLookupTable(params: CreateLookupTableParams): [TransactionInstruction, PublicKey](params: CreateLookupTableParams): Promise<[TransactionInstruction, PublicKey]>

Nieuw als verouderd gemarkeerd

Niets gevonden.

Gewijzigde vereisten (engines, peer-afhankelijkheden)

VoorNa
engines.node—>=20.18.0
Nieuwe exports (111)
importexportkind
@solana/web3.jsVotetype
@solana/web3.jsIdentitytype
@solana/web3.jsCloseParamstype
@solana/web3.jsWriteParamstype
@solana/web3.jsStakeAccountclass
@solana/web3.jsVoteCallbacktype
@solana/web3.jsCompileV1Argstype
@solana/web3.jsUpgradeParamstype
@solana/web3.jsBlockCommitmenttype
@solana/web3.jsGetBlocksConfigtype
@solana/web3.jsLoaderV3Programclass
@solana/web3.jsMoveStakeParamstype
@solana/web3.jsVoteAccountDatatype
@solana/web3.jsStakeAccountMetatype
@solana/web3.jsVoteStateVersiontype
@solana/web3.jsStakeAccountFlagstype
@solana/web3.jsStakeAccountStaketype
@solana/web3.jsStakeAccountStatetype
@solana/web3.jsV1_MESSAGE_PREFIXvariable
@solana/web3.jsMoveLamportsParamstype
@solana/web3.jsSetAuthorityParamstype
@solana/web3.jsStakeAccountLockuptype
@solana/web3.jsExtendProgramParamstype
@solana/web3.jsLoaderV3Instructionclass
@solana/web3.jsV1TransactionConfigvariable
@solana/web3.jsV1_MAX_INSTRUCTIONSvariable
@solana/web3.jsAccountInfoWithSpacetype
@solana/web3.jsGetTokenSupplyConfigtype
@solana/web3.jsRequestAirdropConfigtype
@solana/web3.jsSetLockupStakeParamstype
@solana/web3.jsGetVoteAccountsConfigtype
@solana/web3.jsBlockNotificationBlocktype
@solana/web3.jsGetFeeForMessageConfigtype
@solana/web3.jsInitializeBufferParamstype
@solana/web3.jsStakeAccountAuthorizedtype
@solana/web3.jsStakeAccountDelegationtype
@solana/web3.jsBlockNotificationResulttype
@solana/web3.jsBlockSubscriptionConfigtype
@solana/web3.jsBlockSubscriptionFiltertype
@solana/web3.jsGetLeaderScheduleConfigtype
@solana/web3.jsLoaderV3InstructionTypetype
@solana/web3.jsSubscriptionReadyConfigtype
@solana/web3.jsBlockSubscriptionCallbacktype
@solana/web3.jsSetAuthorityCheckedParamstype
@solana/web3.jsAuthorizeCheckedVoteParamstype
@solana/web3.jsDecodedAllocateInstructiontype
@solana/web3.jsDeployWithMaxDataLenParamstype
@solana/web3.jsGetInflationGovernorConfigtype
@solana/web3.jsUpdateCommissionVoteParamstype
@solana/web3.jsAuthorizeCheckedStakeParamstype
@solana/web3.jsBlockSubscriptionJsonConfigtype
@solana/web3.jsBlockSubscriptionJsonResulttype
@solana/web3.jsBlockSubscriptionNoneConfigtype
@solana/web3.jsBlockSubscriptionNoneResulttype
@solana/web3.jsParsedAccountChangeCallbacktype
@solana/web3.jsSetLockupCheckedStakeParamstype
@solana/web3.jsSignaturesModeBlockResponsetype
@solana/web3.jsDecodedSplitStakeInstructiontype
@solana/web3.jsGetTokenAccountBalanceConfigtype
@solana/web3.jsInitializeCheckedStakeParamstype
@solana/web3.jsBlockSubscriptionBase58Configtype
@solana/web3.jsBlockSubscriptionBase58Resulttype
@solana/web3.jsBlockSubscriptionBase64Configtype
@solana/web3.jsBlockSubscriptionBase64Resulttype
@solana/web3.jsBlockSubscriptionJsonCallbacktype
@solana/web3.jsBlockSubscriptionNoneCallbacktype
@solana/web3.jsGetTokenLargestAccountsConfigtype
@solana/web3.jsVersionedTransactionSignConfigtype
@solana/web3.jsAccountSubscriptionBinaryConfigtype
@solana/web3.jsAccountSubscriptionParsedConfigtype
@solana/web3.jsBase64ZstdAccountChangeCallbacktype
@solana/web3.jsBlockSubscriptionAccountsConfigtype
@solana/web3.jsBlockSubscriptionAccountsResulttype
@solana/web3.jsBlockSubscriptionBase58Callbacktype
@solana/web3.jsBlockSubscriptionBase64Callbacktype
@solana/web3.jsDeactivateDelinquentStakeParamstype
@solana/web3.jsDecodedCreateAccountInstructiontype
@solana/web3.jsDecodedWithdrawNonceInstructiontype
@solana/web3.jsDecodedWithdrawStakeInstructiontype
@solana/web3.jsGetMinimumDelegationStakeParamstype
@solana/web3.jsGetTokenAccountsByDelegateConfigtype
@solana/web3.jsBlockSubscriptionAccountsCallbacktype
@solana/web3.jsBlockSubscriptionJsonParsedConfigtype
@solana/web3.jsBlockSubscriptionJsonParsedResulttype
@solana/web3.jsBlockSubscriptionSignaturesConfigtype
@solana/web3.jsBlockSubscriptionSignaturesResulttype
@solana/web3.jsParsedSignaturesModeBlockResponsetype
@solana/web3.jsAuthorizeCheckedVoteWithSeedParamstype
@solana/web3.jsBlockSubscriptionJsonBlockResponsetype
@solana/web3.jsDecodedAllocateWithSeedInstructiontype
@solana/web3.jsParsedProgramAccountChangeCallbacktype
@solana/web3.jsSignatureSubscriptionStatusOptionstype
@solana/web3.jsAccountSubscriptionBase64ZstdConfigtype
@solana/web3.jsAuthorizeCheckedWithSeedStakeParamstype
@solana/web3.jsBlockSubscriptionJsonParsedCallbacktype
@solana/web3.jsBlockSubscriptionSignaturesCallbacktype
@solana/web3.jsGetParsedTokenAccountsByOwnerConfigtype
@solana/web3.jsBlockSubscriptionBase58BlockResponsetype
@solana/web3.jsBlockSubscriptionBase64BlockResponsetype
@solana/web3.jsDecodedWithdrawFromVoteAccountParamstype
@solana/web3.jsSetLoadedAccountsDataSizeLimitParamsinterface
@solana/web3.jsSignatureSubscriptionReceivedOptionstype
@solana/web3.jsVersionedSignaturesModeBlockResponsetype
@solana/web3.jsBase64ZstdProgramAccountChangeCallbacktype
@solana/web3.jsProgramAccountSubscriptionBinaryConfigtype
@solana/web3.jsProgramAccountSubscriptionParsedConfigtype
@solana/web3.jsDecodedCreateAccountWithSeedInstructiontype
@solana/web3.jsGetMinimumBalanceForRentExemptionConfigtype
@solana/web3.jsBlockSubscriptionJsonParsedBlockResponsetype
@solana/web3.jsBlockSubscriptionAccountsModeBlockResponsetype
@solana/web3.jsProgramAccountSubscriptionBase64ZstdConfigtype

Geef je AI-agent deze feiten

Vigia is een gratis MCP-server: je coding-agent controleert versies, breaking changes en kwetsbaarheden voordat hij code schrijft. Geen account, geen API-sleutel.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Toevoegen aan CursorToevoegen aan VS Code★ Ster op GitHub

Elke andere MCP-client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent-skill (SKILL.md): vertelt de agent wanneer hij Vigia moet gebruiken · GitHub Action voor pull requests

Veelgestelde vragen

Wat zijn de brekende wijzigingen bij het upgraden van @solana/web3.js van 1 naar 3?

Tussen @solana/web3.js 1.99.0 en 3.1.1 vond Vigia 16 verwijderde exports, 142 gewijzigde signaturen en 159 verwijderde of gewijzigde leden van klassen of interfaces.

Wat is verouderd in @solana/web3.js 3?

0 exports of leden zijn in @solana/web3.js 3.1.1 nieuw als verouderd gemarkeerd.

Voor agents

GET https://vigia.coredls.cloud/v1/packages/npm/@solana/web3.js/upgrade?from=1.99.0&to=3.1.1