buildERC20TransactionEndpoint method
Implementation
String buildERC20TransactionEndpoint({
required String address,
required String contractAddress,
int? startblock,
int? endblock,
int? page,
int? offset,
Sorting? sorting,
}) =>
"$base&module=account&action=tokentx&address=$address&contractaddress=$contractAddress"
.addOptionalParameter('startblock', startblock)
.addOptionalParameter('endblock', endblock)
.addOptionalParameter('page', page)
.addOptionalParameter('offset', offset)
.addOptionalParameter('sort', sorting?.name);