Module: message/ParentTransaction
ParentContractCallTransactionReceipt
A ParentTransactionReceipt with additional functionality that only exists if the transaction created a single call to a child chain contract - this includes token deposits.
Extends
ParentTransactionReceipt
Methods
getEthDeposits()
getEthDeposits(childProvider): Promise< EthDepositMessage[] >
Get any eth deposit messages created by this transaction
Parameters
Parameter | Type |
---|---|
childProvider | Provider |
Returns
Promise
< EthDepositMessage
[] >
Inherited from
ParentTransactionReceipt.getEthDeposits
Source
arbitrum-sdk/src/lib/message/ParentTransaction.ts:191
getInboxMessageDeliveredEvents()
getInboxMessageDeliveredEvents(): {data: string; messageNum: BigNumber;}[]
Get any InboxMessageDelivered events that were emitted during this transaction
Returns
{data
: string
; messageNum
: BigNumber
;}[]
Inherited from
ParentTransactionReceipt.getInboxMessageDeliveredEvents
Source
arbitrum-sdk/src/lib/message/ParentTransaction.ts:134
getMessageDeliveredEvents()
getMessageDeliveredEvents(): {baseFeeL1: BigNumber; beforeInboxAcc: string; inbox: string; kind: number; messageDataHash: string; messageIndex: BigNumber; sender: string; timestamp: BigNumber;}[]
Get any MessageDelivered events that were emitted during this transaction
Returns
{baseFeeL1
: BigNumber
; beforeInboxAcc
: string
; inbox
: string
; kind
: number
; messageDataHash
: string
; messageIndex
: BigNumber
; sender
: string
; timestamp
: BigNumber
;}[]
Inherited from
ParentTransactionReceipt.getMessageDeliveredEvents
Source
arbitrum-sdk/src/lib/message/ParentTransaction.ts:126
getMessageEvents()
getMessageEvents(): {bridgeMessageEvent: {baseFeeL1: BigNumber; beforeInboxAcc: string; inbox: string; kind: number; messageDataHash: string; messageIndex: BigNumber; sender: string; timestamp: BigNumber;}; inboxMessageEvent: {data: string; messageNum: BigNumber;};}[]
Get combined data for any InboxMessageDelivered and MessageDelivered events emitted during this transaction
Returns
{bridgeMessageEvent
: {baseFeeL1
: BigNumber
; beforeInboxAcc
: string
; inbox
: string
; kind
: number
; messageDataHash
: string
; messageIndex
: BigNumber
; sender
: string
; timestamp
: BigNumber
;}; inboxMessageEvent
: {data
: string
; messageNum
: BigNumber
;};}[]
Inherited from
ParentTransactionReceipt.getMessageEvents
Source
arbitrum-sdk/src/lib/message/ParentTransaction.ts:147
getParentToChildMessages()
getParentToChildMessages<T>(childSignerOrProvider): Promise< ParentToChildMessageReaderOrWriter< T >[] >
Get any parent-to-child messages created by this transaction
Type parameters
Parameter |
---|
T extends SignerOrProvider |
Parameters
Parameter | Type | Description |
---|---|---|
childSignerOrProvider | T |
Returns
Promise
< ParentToChildMessageReaderOrWriter
< T
>[] >
Inherited from
ParentTransactionReceipt.getParentToChildMessages
Source
arbitrum-sdk/src/lib/message/ParentTransaction.ts:248
getParentToChildMessagesClassic()
getParentToChildMessagesClassic(childProvider): Promise< ParentToChildMessageReaderClassic[] >
Get classic parent-to-child messages created by this transaction
Parameters
Parameter | Type | Description |
---|---|---|
childProvider | Provider |