peerchemist / trotter

Trotter does abstraction on creation of NFT tokens on multiple evm-based blockchain networks.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

/transfer/{tokenId} endpoint improvements #22

Closed peerchemist closed 3 years ago

peerchemist commented 3 years ago

{ "network": "string", "fee": 0, "destination": "string" }

"fee" parameter should optional, if it is not given logic should presume best fee for the network.

"network" parameter should be dropped, as token only lives on such and such network, understand the network from the token itself.

peerchemist commented 3 years ago

Maybe we can now do it like so:

/transfer/{tokenId}/{userAddress}

peerchemist commented 3 years ago

I saw you did something about it. However, it still asks for network. As I've explained you can take the network from the token metadata. No need to manually ask for it.

bigchiano commented 3 years ago

done this so will close now