TokenEvent.erc721Transfer constructor
- @FreezedUnionValue('ERC-721')
Represents an ERC-721 token transfer event.
Parameters:
symbol
– The symbol of the ERC-721 token.name
– The name of the ERC-721 token.address
– The address of the ERC-721 token.value
– The value associated with the ERC-721 token transfer.tokenId
– The unique identifier of the ERC-721 token.to
– The recipient of the ERC-721 token transfer.
Implementation
@FreezedUnionValue('ERC-721')
const factory TokenEvent.erc721Transfer({
required String symbol,
@JsonKey(
fromJson: nameFromJson,
)
required String name,
@JsonKey(
fromJson: addressFromJson,
)
required String address,
required BigInt value,
BigInt? tokenId,
String? to,
String? from,
}) = ERC721Transfer;