web3-core | API | Web3.js (original) (raw)

Index

References

Type Aliases

CustomTransactionSchema: { properties: Record<string, Schema>; type: string }

Type declaration

PromiseExecutor<T>: (resolve: (data: T) => void, reject: (reason: unknown) => void) => void

Type parameters

Type declaration

TransactionBuilder<API>: <ReturnType>(options: { fillGasPrice?: boolean; privateKey?: HexString | Uint8Array; transaction: Transaction; web3Context: Web3Context<API> }) => Promise<ReturnType>

Type declaration

Type declaration

Web3ContextConstructor<T, T2>: new (...args: [extras: T2, context: Web3ContextObject]) => T

Type declaration

Type parameters

Type declaration

Type parameters

Type declaration

Web3EventCallback<T>: (params: T) => void | Promise<void>

Type parameters

Type declaration

Web3EventKey<T>: string & keyof T

Web3EventMap: Record<string, unknown>

Web3SubscriptionConstructor<API, SubscriptionType>: new (args: any, options: { returnFormat?: DataFormat; subscriptionManager: Web3SubscriptionManager<API> } | { requestManager: Web3RequestManager<API>; returnFormat?: DataFormat }) => SubscriptionType | new (args: any, options: { returnFormat?: DataFormat; subscriptionManager: Web3SubscriptionManager<API> }) => SubscriptionType | new (args: any, options: { requestManager: Web3RequestManager<API>; returnFormat?: DataFormat }) => SubscriptionType

Variables

DEFAULT_BATCH_REQUEST_TIMEOUT: 1000 = 1000