Properties
Optional onBeforeTxSend
onBeforeTxSend?: ((args: { bundleID: string; message?: string; network: Network; txs: readonly TransactionEnvelope[] }) => void)
Type declaration
-
- (args: { bundleID: string; message?: string; network: Network; txs: readonly TransactionEnvelope[] }): void
-
Parameters
-
args: { bundleID: string; message?: string; network: Network; txs: readonly TransactionEnvelope[] }
-
bundleID: string
-
Optional message?: string
-
network: Network
-
txs: readonly TransactionEnvelope[]
Returns void
Optional onTxSend
onTxSend?: ((args: { bundleID: string; message?: string; network: Network; pending: readonly PendingTransaction[]; txs: readonly TransactionEnvelope[] }) => void)
Type declaration
-
- (args: { bundleID: string; message?: string; network: Network; pending: readonly PendingTransaction[]; txs: readonly TransactionEnvelope[] }): void
-
Parameters
-
args: { bundleID: string; message?: string; network: Network; pending: readonly PendingTransaction[]; txs: readonly TransactionEnvelope[] }
-
bundleID: string
-
Optional message?: string
-
network: Network
-
pending: readonly PendingTransaction[]
-
txs: readonly TransactionEnvelope[]
Returns void
refetchMany
refetchMany: ((keys: readonly PublicKey[]) => Promise<(null | AccountInfo<Buffer> | Error)[]>)
Type declaration
-
- (keys: readonly PublicKey[]): Promise<(null | AccountInfo<Buffer> | Error)[]>
-
Parameters
-
keys: readonly PublicKey[]
Returns Promise<(null | AccountInfo<Buffer> | Error)[]>
Optional txRefetchDelayMs
txRefetchDelayMs?: number
Optional waitForConfirmation
waitForConfirmation?: boolean
Called right before a TransactionEnvelope is sent.