CallResult
CallResult<
ErrorType>:object
Result of a Tevm VM Call method
Type parameters
• ErrorType = CallError
Type declaration
accessList?
The access list if enabled on call Mapping of addresses to storage slots
blobGasUsed?
optionalblobGasUsed:bigint
Amount of blob gas consumed by the transaction
createdAddress?
optionalcreatedAddress:Address
Address of created account during transaction, if any
createdAddresses?
optionalcreatedAddresses:Set<Address>
Map of addresses which were created (used in EIP 6780)
errors?
optionalerrors:ErrorType[]
Description of the exception, if any occurred
executionGasUsed
executionGasUsed:
bigint
Amount of gas the code used to run
gas?
optionalgas:bigint
Amount of gas left
gasRefund?
optionalgasRefund:bigint
The gas refund counter as a uint256
logs?
optionallogs:Log[]
Array of logs that the contract emitted
rawData
rawData:
Hex
Encoded return value from the contract as hex string
selfdestruct?
optionalselfdestruct:Set<Address>
A set of accounts to selfdestruct
trace?
optionaltrace:DebugTraceCallResult
The call trace if tracing is enabled on call
txHash?
optionaltxHash:Hex
The returned tx hash if the call was included in the chain
Will not be defined if the call was not included in the chain
Whether a call is included in the chain depends on if the
createTransaction option and the result of the call
Source
result/CallResult.ts:8