Module: dataEntities/transactionRequest
L1ToL2TransactionRequest
A transaction request for a transaction that will trigger some sort of execution on the L2
Properties
Property | Type | Description |
---|---|---|
retryableData | OmitTyped \< L1ToL2MessageNoGasParams , "excessFeeRefundAddress" | "callValueRefundAddress" > & Partial \< L1ToL2MessageNoGasParams > & L1ToL2MessageGasParams | Information about the retryable ticket, and it's subsequent execution, that will occur on L2 |
txRequest | Required \< Pick \< TransactionRequest , "data" | "value" | "to" | "from" > > | Core fields needed to form the L1 component of the transaction request |
Methods
isValid()
isValid(): Promise< boolean >
If this request were sent now, would it have enough margin to reliably succeed
Returns
Promise
\< boolean
>
Source
arbitrum-sdk/src/lib/dataEntities/transactionRequest.ts:28
L2ToL1TransactionRequest
A transaction request for a transaction that will trigger an L2 to L1 message
Properties
Property | Type |
---|---|
estimateL1GasLimit | (l1Provider ) => Promise \< BigNumber > |
isL1ToL2TransactionRequest()
isL1ToL2TransactionRequest<T>(possibleRequest): possibleRequest is L1ToL2TransactionRequest
Check if an object is of L1ToL2TransactionRequest type
Type parameters
Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
possibleRequest | L1ToL2TransactionRequest | IsNotTransactionRequest \< T > |
Returns
possibleRequest is L1ToL2TransactionRequest
Source
arbitrum-sdk/src/lib/dataEntities/transactionRequest.ts:57
isL2ToL1TransactionRequest()
isL2ToL1TransactionRequest<T>(possibleRequest): possibleRequest is L2ToL1TransactionRequest
Check if an object is of L2ToL1TransactionRequest type
Type parameters
Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
possibleRequest | L2ToL1TransactionRequest | IsNotTransactionRequest \< T > |
Returns
possibleRequest is L2ToL1TransactionRequest