Verify Transfers

Executing a successful balance transfer requires a valid "transfer function". What makes it valid? Here are the key criteria:

  1. The amount in the transfer function inscription shouldn't be more than your available balance at the time of inscription. Think of it like this: you can't throw more balls for your doge to fetch than you actually have. Your available balance is like the total balls you have minus the ones your Shiba is already fetching (known as the "transferable balance"). If there are no balls in the air, your available balance is the same as your total.

Let's say you have a total of 1000 "woof" balls. You throw 700 "woof" balls for your Shiba to fetch. Once that's set in motion, your total is still 1000, but you only have 300 available, and there are 700 in play. If you try to throw another 500 "woof" balls, that won't work because you only have 300 left.

  1. If you're throwing multiple balls at the same time (i.e., inscribing multiple transfer functions in the same block), the order they're confirmed in the block determines which ones are valid. It's like the order your Shiba Inu fetches the balls you throw.

By following these rules, you can ensure your transfer functions are valid, and your balance transfers are as smooth and secure as a well-trained Shiba Inu fetching balls! 🚀

Last updated