Module: dataEntities/transactionRequest
ChildToParentTransactionRequest
A transaction request for a transaction that will trigger a child to parent message
Properties
Property | Type |
---|---|
estimateParentGasLimit | (l1Provider ) => Promise < BigNumber > |
ParentToChildTransactionRequest
A transaction request for a transaction that will trigger some sort of execution on the child chain
Properties
Property | Type | Description |
---|---|---|
retryableData | OmitTyped < ParentToChildMessageNoGasParams , "excessFeeRefundAddress" | "callValueRefundAddress" > & Partial < ParentToChildMessageNoGasParams > & ParentToChildMessageGasParams | Information about the retryable ticket, and it's subsequent execution, that will occur on the child chain |
txRequest | Required < Pick < TransactionRequest , "data" | "value" | "to" | "from" > > | Core fields needed to form the parent 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
isChildToParentTransactionRequest()
isChildToParentTransactionRequest<T>(possibleRequest): possibleRequest is ChildToParentTransactionRequest
Check if an object is of ChildToParentTransactionRequest type
Type parameters
Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
possibleRequest | ChildToParentTransactionRequest | IsNotTransactionRequest < T > |
Returns
possibleRequest is ChildToParentTransactionRequest
Source
arbitrum-sdk/src/lib/dataEntities/transactionRequest.ts:70
isParentToChildTransactionRequest()
isParentToChildTransactionRequest<T>(possibleRequest): possibleRequest is ParentToChildTransactionRequest
Check if an object is of ParentToChildTransactionRequest type
Type parameters
Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
possibleRequest | ParentToChildTransactionRequest | IsNotTransactionRequest < T > |
Returns
possibleRequest is ParentToChildTransactionRequest