feat: support blockTime on getConfirmedSignaturesForAddress2 (#14573)
* feat: support blockTime on getConfirmedSignaturesForAddress2 * feat: support getConfirmedTransaction blockTime * fix: add ConfirmedBlock typings * fix: modify property description * fix: fix formatting in type files
This commit is contained in:
8
web3.js/module.d.ts
vendored
8
web3.js/module.d.ts
vendored
@ -110,6 +110,7 @@ declare module '@solana/web3.js' {
|
||||
slot: number;
|
||||
err: TransactionError | null;
|
||||
memo: string | null;
|
||||
blockTime?: number | null;
|
||||
};
|
||||
|
||||
export type BlockhashAndFeeCalculator = {
|
||||
@ -189,6 +190,12 @@ declare module '@solana/web3.js' {
|
||||
transaction: Transaction;
|
||||
meta: ConfirmedTransactionMeta | null;
|
||||
}>;
|
||||
rewards: Array<{
|
||||
pubkey: string;
|
||||
lamports: number;
|
||||
postBalance: number | null;
|
||||
rewardType: string | null;
|
||||
}>;
|
||||
};
|
||||
|
||||
export type PerfSample = {
|
||||
@ -202,6 +209,7 @@ declare module '@solana/web3.js' {
|
||||
slot: number;
|
||||
transaction: Transaction;
|
||||
meta: ConfirmedTransactionMeta | null;
|
||||
blockTime?: number | null;
|
||||
};
|
||||
|
||||
export type ParsedMessageAccount = {
|
||||
|
Reference in New Issue
Block a user