Passer de @solana/web3.js 1.x à 3.x
Comparaison de l’API publique de @solana/web3.js 1.99.0 et 3.1.1, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.
Résumé
| Chemins d’importation supprimés | 0 |
|---|---|
| Exports supprimés | 16 |
| Signatures modifiées | 142 |
| Membres de classes ou d’interfaces supprimés | 17 |
| Membres de classes ou d’interfaces modifiés | 142 |
| Nouvelles dépréciations | 0 |
| Changements d’exigences (engines, dépendances peer) | 1 |
| Nouveaux exports | 111 |
Exports supprimés
| import | export | kind | Avant |
|---|---|---|---|
@solana/web3.js | Enum | class | class |
@solana/web3.js | Struct | class | class |
@solana/web3.js | Account | class | class |
@solana/web3.js | FetchFn | type | (input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response> |
@solana/web3.js | Version | type | { 'solana-core': string; 'feature-set'?: number | undefined; } |
@solana/web3.js | PerfSample | type | { slot: number; numTransactions: number; numSlots: number; samplePeriodSecs: number; } |
@solana/web3.js | FeeCalculator | interface | interface |
@solana/web3.js | PublicKeyData | type | {} |
@solana/web3.js | SOLANA_SCHEMA | variable | Map<Function, any> |
@solana/web3.js | Ed25519Keypair | interface | interface |
@solana/web3.js | TransactionConfig | type | { computeUnitLimit: number | null; heapSize: number | null; loadedAccountsDataSizeLimit: number | null; priorityFee: number | null; } |
@solana/web3.js | StakeActivationData | type | { state: "active" | "inactive" | "activating" | "deactivating"; active: number; inactive: number; } |
@solana/web3.js | GetStakeActivationConfig | type | { commitment?: Commitment | undefined; epoch?: number | undefined; minContextSlot?: number | undefined; } |
@solana/web3.js | VERSION_1_MESSAGE_PREFIX | variable | 129 |
@solana/web3.js | V1_TRANSACTION_SIZE_LIMIT | variable | 4096 |
@solana/web3.js | ConfirmedSignaturesForAddress2Options | type | { before?: string | undefined; until?: string | undefined; limit?: number | undefined; } |
Signatures modifiées
| export | Avant | Après |
|---|---|---|
@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; }>> |
Membres de classes ou d’interfaces supprimés
| member | import | Avant |
|---|---|---|
Keypair._keypair | @solana/web3.js | any |
MessageV0.serializeInstructions | @solana/web3.js | any |
MessageV0.serializeAddressTableLookups | @solana/web3.js | any |
MessageV1.addressTableLookups | @solana/web3.js | MessageAddressTableLookup[] |
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.js | any |
Membres de classes ou d’interfaces modifiés
| member | Avant | Après |
|---|---|---|
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.header | MessageHeader | Readonly<MessageHeader> |
Message.serialize | (): Buffer | (): Uint8Array<ArrayBufferLike> |
Message.static from | (buffer: any): Message | (buffer: Uint8Array<ArrayBufferLike> | number[]): Message |
Message.recentBlockhash | string | Blockhash |
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.header | MessageHeader | Readonly<MessageHeader> |
MessageV0.recentBlockhash | string | Blockhash |
MessageV1.header | MessageHeader | Readonly<MessageHeader> |
MessageV1.recentBlockhash | string | Blockhash |
MessageV1.transactionConfig | TransactionConfig | any |
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.commitment | Commitment | undefined | any |
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.signature | any | Uint8Array<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.recentBlockhash | string | undefined | any |
Transaction.serializeMessage | (): Buffer | (): Uint8Array<ArrayBufferLike> |
Transaction.verifySignatures | (requireAllSignatures?: boolean | undefined): boolean | (requireAllSignatures?: boolean | undefined): Promise<boolean> |
Transaction.minNonceContextSlot | number | undefined | number | bigint | undefined |
Transaction.lastValidBlockHeight | number | undefined | number | bigint | undefined |
VoteAccount.rootSlot | number | null | bigint | null |
VoteAccount.priorVoters | Readonly<{ authorizedPubkey: PublicKey; epochOfLastAuthorizedSwitch: number; targetEpoch: number; }>[] | Readonly<{ authorizedPubkey: PublicKey; epochOfLastAuthorizedSwitch: bigint; targetEpoch: bigint; }>[] |
VoteAccount.epochCredits | Readonly<{ epoch: number; credits: number; prevCredits: number; }>[] | Readonly<{ epoch: bigint; credits: bigint; prevCredits: bigint; }>[] |
VoteAccount.lastTimestamp | Readonly<{ slot: number; timestamp: number; }> | Readonly<{ slot: bigint; timestamp: bigint; }> |
VoteAccount.authorizedVoters | Readonly<{ 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.nonce | string | Blockhash |
NonceAccount.feeCalculator | FeeCalculator | { 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.slotsPerEpoch | number | bigint |
EpochSchedule.firstNormalSlot | number | bigint |
EpochSchedule.getSlotsInEpoch | (epoch: number): number | (epoch: bigint): bigint |
EpochSchedule.firstNormalEpoch | number | bigint |
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.leaderScheduleSlotOffset | number | bigint |
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.recentBlockhash | string | Blockhash |
VersionedTransaction.sign | (signers: Signer[]): void | (signers: TransactionPartialSigner[], config?: VersionedTransactionSignConfig | undefined): Promise<void> |
TransactionInstruction.data | Buffer | Uint8Array<ArrayBufferLike> |
AddressLookupTableProgram.static createLookupTable | (params: CreateLookupTableParams): [TransactionInstruction, PublicKey] | (params: CreateLookupTableParams): Promise<[TransactionInstruction, PublicKey]> |
Nouvelles dépréciations
Aucun détecté.
Changements d’exigences (engines, dépendances peer)
| Avant | Après | |
|---|---|---|
engines.node | — | >=20.18.0 |
Nouveaux exports (111)
| import | export | kind |
|---|---|---|
@solana/web3.js | Vote | type |
@solana/web3.js | Identity | type |
@solana/web3.js | CloseParams | type |
@solana/web3.js | WriteParams | type |
@solana/web3.js | StakeAccount | class |
@solana/web3.js | VoteCallback | type |
@solana/web3.js | CompileV1Args | type |
@solana/web3.js | UpgradeParams | type |
@solana/web3.js | BlockCommitment | type |
@solana/web3.js | GetBlocksConfig | type |
@solana/web3.js | LoaderV3Program | class |
@solana/web3.js | MoveStakeParams | type |
@solana/web3.js | VoteAccountData | type |
@solana/web3.js | StakeAccountMeta | type |
@solana/web3.js | VoteStateVersion | type |
@solana/web3.js | StakeAccountFlags | type |
@solana/web3.js | StakeAccountStake | type |
@solana/web3.js | StakeAccountState | type |
@solana/web3.js | V1_MESSAGE_PREFIX | variable |
@solana/web3.js | MoveLamportsParams | type |
@solana/web3.js | SetAuthorityParams | type |
@solana/web3.js | StakeAccountLockup | type |
@solana/web3.js | ExtendProgramParams | type |
@solana/web3.js | LoaderV3Instruction | class |
@solana/web3.js | V1TransactionConfig | variable |
@solana/web3.js | V1_MAX_INSTRUCTIONS | variable |
@solana/web3.js | AccountInfoWithSpace | type |
@solana/web3.js | GetTokenSupplyConfig | type |
@solana/web3.js | RequestAirdropConfig | type |
@solana/web3.js | SetLockupStakeParams | type |
@solana/web3.js | GetVoteAccountsConfig | type |
@solana/web3.js | BlockNotificationBlock | type |
@solana/web3.js | GetFeeForMessageConfig | type |
@solana/web3.js | InitializeBufferParams | type |
@solana/web3.js | StakeAccountAuthorized | type |
@solana/web3.js | StakeAccountDelegation | type |
@solana/web3.js | BlockNotificationResult | type |
@solana/web3.js | BlockSubscriptionConfig | type |
@solana/web3.js | BlockSubscriptionFilter | type |
@solana/web3.js | GetLeaderScheduleConfig | type |
@solana/web3.js | LoaderV3InstructionType | type |
@solana/web3.js | SubscriptionReadyConfig | type |
@solana/web3.js | BlockSubscriptionCallback | type |
@solana/web3.js | SetAuthorityCheckedParams | type |
@solana/web3.js | AuthorizeCheckedVoteParams | type |
@solana/web3.js | DecodedAllocateInstruction | type |
@solana/web3.js | DeployWithMaxDataLenParams | type |
@solana/web3.js | GetInflationGovernorConfig | type |
@solana/web3.js | UpdateCommissionVoteParams | type |
@solana/web3.js | AuthorizeCheckedStakeParams | type |
@solana/web3.js | BlockSubscriptionJsonConfig | type |
@solana/web3.js | BlockSubscriptionJsonResult | type |
@solana/web3.js | BlockSubscriptionNoneConfig | type |
@solana/web3.js | BlockSubscriptionNoneResult | type |
@solana/web3.js | ParsedAccountChangeCallback | type |
@solana/web3.js | SetLockupCheckedStakeParams | type |
@solana/web3.js | SignaturesModeBlockResponse | type |
@solana/web3.js | DecodedSplitStakeInstruction | type |
@solana/web3.js | GetTokenAccountBalanceConfig | type |
@solana/web3.js | InitializeCheckedStakeParams | type |
@solana/web3.js | BlockSubscriptionBase58Config | type |
@solana/web3.js | BlockSubscriptionBase58Result | type |
@solana/web3.js | BlockSubscriptionBase64Config | type |
@solana/web3.js | BlockSubscriptionBase64Result | type |
@solana/web3.js | BlockSubscriptionJsonCallback | type |
@solana/web3.js | BlockSubscriptionNoneCallback | type |
@solana/web3.js | GetTokenLargestAccountsConfig | type |
@solana/web3.js | VersionedTransactionSignConfig | type |
@solana/web3.js | AccountSubscriptionBinaryConfig | type |
@solana/web3.js | AccountSubscriptionParsedConfig | type |
@solana/web3.js | Base64ZstdAccountChangeCallback | type |
@solana/web3.js | BlockSubscriptionAccountsConfig | type |
@solana/web3.js | BlockSubscriptionAccountsResult | type |
@solana/web3.js | BlockSubscriptionBase58Callback | type |
@solana/web3.js | BlockSubscriptionBase64Callback | type |
@solana/web3.js | DeactivateDelinquentStakeParams | type |
@solana/web3.js | DecodedCreateAccountInstruction | type |
@solana/web3.js | DecodedWithdrawNonceInstruction | type |
@solana/web3.js | DecodedWithdrawStakeInstruction | type |
@solana/web3.js | GetMinimumDelegationStakeParams | type |
@solana/web3.js | GetTokenAccountsByDelegateConfig | type |
@solana/web3.js | BlockSubscriptionAccountsCallback | type |
@solana/web3.js | BlockSubscriptionJsonParsedConfig | type |
@solana/web3.js | BlockSubscriptionJsonParsedResult | type |
@solana/web3.js | BlockSubscriptionSignaturesConfig | type |
@solana/web3.js | BlockSubscriptionSignaturesResult | type |
@solana/web3.js | ParsedSignaturesModeBlockResponse | type |
@solana/web3.js | AuthorizeCheckedVoteWithSeedParams | type |
@solana/web3.js | BlockSubscriptionJsonBlockResponse | type |
@solana/web3.js | DecodedAllocateWithSeedInstruction | type |
@solana/web3.js | ParsedProgramAccountChangeCallback | type |
@solana/web3.js | SignatureSubscriptionStatusOptions | type |
@solana/web3.js | AccountSubscriptionBase64ZstdConfig | type |
@solana/web3.js | AuthorizeCheckedWithSeedStakeParams | type |
@solana/web3.js | BlockSubscriptionJsonParsedCallback | type |
@solana/web3.js | BlockSubscriptionSignaturesCallback | type |
@solana/web3.js | GetParsedTokenAccountsByOwnerConfig | type |
@solana/web3.js | BlockSubscriptionBase58BlockResponse | type |
@solana/web3.js | BlockSubscriptionBase64BlockResponse | type |
@solana/web3.js | DecodedWithdrawFromVoteAccountParams | type |
@solana/web3.js | SetLoadedAccountsDataSizeLimitParams | interface |
@solana/web3.js | SignatureSubscriptionReceivedOptions | type |
@solana/web3.js | VersionedSignaturesModeBlockResponse | type |
@solana/web3.js | Base64ZstdProgramAccountChangeCallback | type |
@solana/web3.js | ProgramAccountSubscriptionBinaryConfig | type |
@solana/web3.js | ProgramAccountSubscriptionParsedConfig | type |
@solana/web3.js | DecodedCreateAccountWithSeedInstruction | type |
@solana/web3.js | GetMinimumBalanceForRentExemptionConfig | type |
@solana/web3.js | BlockSubscriptionJsonParsedBlockResponse | type |
@solana/web3.js | BlockSubscriptionAccountsModeBlockResponse | type |
@solana/web3.js | ProgramAccountSubscriptionBase64ZstdConfig | type |
Donnez ces données à votre agent IA
Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub
Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests
Questions fréquentes
Quels sont les changements incompatibles en passant de @solana/web3.js 1 à 3 ?
Entre @solana/web3.js 1.99.0 et 3.1.1, Vigia a trouvé 16 exports supprimés, 142 signatures modifiées et 159 membres de classes ou d’interfaces supprimés ou modifiés.
Qu’est-ce qui a été déprécié dans @solana/web3.js 3 ?
0 exports ou membres sont désormais marqués comme dépréciés dans @solana/web3.js 3.1.1.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/@solana/web3.js/upgrade?from=1.99.0&to=3.1.1