Skip to main content

Function: getContractReceipt()

getContractReceipt(tx): Promise <MultiEventTransactionReceipt>

Given a transaction, this helper will return the tableIds that were part of the transaction. Especially useful for transactions that create new tables because you need the tableId to calculate the full table name.

Parameters​

• tx: ContractTransactionResponse

Returns​

Promise <MultiEventTransactionReceipt>

tableland receipt

Source​

@tableland/sdk/src/helpers/ethers.ts:154