The ABI entry for the function that was called. You can use this to extract the name, for instance.
The list of decoded arguments to the function.
The class of contract that was called, as a Format.Types.ContractType.
The decoding mode that was used; see the README for more on these.
Further information about how the decoding may be interpreted. Note that interpretations may be added by things that use @truffle/codec, such as @truffle/decoder, rather than by @truffle/codec itself. See individual interpretations for details.
Optional
aggregate?: CallInterpretationInfo[]If this interpretation is present, indicates that the transaction can be
understood as an aggregate
(from multicallv2). This also includes
blockAndAggregate
, as well as aggregate3
(from multicallv3), and
aggregate3Value
. See [[CallInterpretationInfo]] for more information.
Optional
deadlinedSimilar to multicall
, but for Uniswap's deadlined multicall.
Optional
multicall?: CalldataDecoding[]If this interpretation is present, indicates that the transaction can be understood as a multicall (v1). The field contains decodings for the individual calls that the multicall can be broken into. Note that in case of an error, individual decodings will be returned as null, so be sure to check for this.
Optional
specifiedSimilar to multicall
, but for Uniswap's multicall with previous block hash.
Optional
trySimilar to the aggregate
interpretation, but for tryAggregate
. Also
includes tryBlockAndAggregate
.
The kind of decoding; indicates that this is a FunctionDecoding.
The selector for the function that was called, as a hexadecimal string.
Generated using TypeDoc
This type represents a transaction decoding for an ordinary function call to a known class; not a constructor call, not a fallback call.
Category
Output