Skip to main content

Module: dataEntities/transactionRequest

ChildToParentTransactionRequest

A transaction request for a transaction that will trigger a child to parent message

Properties

PropertyType
estimateParentGasLimit(l1Provider) => Promise< BigNumber >

ParentToChildTransactionRequest

A transaction request for a transaction that will trigger some sort of execution on the child chain

Properties

PropertyTypeDescription
retryableDataOmitTyped< ParentToChildMessageNoGasParams, "excessFeeRefundAddress" | "callValueRefundAddress" > & Partial< ParentToChildMessageNoGasParams > & ParentToChildMessageGasParamsInformation about the retryable ticket, and it's subsequent execution, that
will occur on the child chain
txRequestRequired< 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&lt;T&gt;(possibleRequest): possibleRequest is ChildToParentTransactionRequest

Check if an object is of ChildToParentTransactionRequest type

Type parameters

Parameter
T

Parameters

ParameterTypeDescription
possibleRequestChildToParentTransactionRequest | IsNotTransactionRequest< T >

Returns

possibleRequest is ChildToParentTransactionRequest

Source

arbitrum-sdk/src/lib/dataEntities/transactionRequest.ts:70


isParentToChildTransactionRequest()

isParentToChildTransactionRequest&lt;T&gt;(possibleRequest): possibleRequest is ParentToChildTransactionRequest

Check if an object is of ParentToChildTransactionRequest type

Type parameters

Parameter
T

Parameters

ParameterTypeDescription
possibleRequestParentToChildTransactionRequest | IsNotTransactionRequest< T >

Returns

possibleRequest is ParentToChildTransactionRequest

Source

arbitrum-sdk/src/lib/dataEntities/transactionRequest.ts:57