Type alias sendSignAndConfirmTransactionsProps
send
Sign
And
Confirm
Transactions
Props
: { callbacks
?: { afterAllTxConfirmed
?: (() => void); afterBatchSign
?: ((signedTxnsCount
: number) => void); afterEveryTxConfirmation
?: (() => void); afterFirstBatchSign
?: ((signedTxnsCount
: number) => void); onError
?: ((e
: any, notProcessedTransactions
: TransactionInstructionWithType[], originalProps
: sendSignAndConfirmTransactionsProps) => void); }; config
?: { autoRetry
: boolean; maxRetries
?: number; maxTxesInBatch
: number; retried
?: number; }; connection
: Connection; timeoutStrategy
?: BlockHeightStrategy; transactionInstructions
: TransactionInstructionWithType[]; wallet
: WalletSigner; }
Type declaration
-
Optional
callbacks?: {
afterAllTxConfirmed?: (() => void);
afterBatchSign?: ((signedTxnsCount: number) => void);
afterEveryTxConfirmation?: (() => void);
afterFirstBatchSign?: ((signedTxnsCount: number) => void);
onError?: ((e: any, notProcessedTransactions: TransactionInstructionWithType[], originalProps: sendSignAndConfirmTransactionsProps) => void);
}
-
Optional
afterAllTxConfirmed?: (() => void)
-
Optional
afterBatchSign?: ((signedTxnsCount: number) => void)
-
- (signedTxnsCount: number): void
-
Returns void
-
Optional
afterEveryTxConfirmation?: (() => void)
-
Optional
afterFirstBatchSign?: ((signedTxnsCount: number) => void)
-
- (signedTxnsCount: number): void
-
Returns void
-
-
Optional
config?: {
autoRetry: boolean;
maxRetries?: number;
maxTxesInBatch: number;
retried?: number;
}
-
autoRetry: boolean
-
Optional
maxRetries?: number
-
maxTxesInBatch: number
-
Optional
retried?: number
-
connection: Connection
-
-
-