๐ŸคResolve Transfer

Resolving the results

Moralis.transfer() returns a transaction response. This object contains all data about the transaction. If you need data about the result of the transaction, then you need to wait for the transaction to be confirmed.

You can do this via transaction.wait() to wait for 1 confirmation (or transaction.wait(5) to wait for 5 confirmations)

Example -

const transaction = await Moralis.transfer(options);
const result = await transaction.wait();

Last updated