Allow for an empty contract in ERC20Transfers function
BenKnigge opened this issue · comments
Benjamin F Knigge commented
pull request #10
This would allow for an empty string pointer to be passed in to ERC20Transfers
resulting in the parameter of the contract address being omitted from the underlying api call.
The result being all coin transfers being returned instead of a list filtered by contract address.
Zhennan LI commented
Have you tried passing nil
to contractAddress
? I think that would do what you need.
Benjamin F Knigge commented
yes, nil seems to work