The NectarTransferResult type represents the result of the token transference between funding wallet and trading wallet.
NectarTransferResult
interface NectarTransferResult { approveTxhash?: string; transferTxhash?: string; transferStatus?: TransactionStatus; error?: Error; }
approveTxhash?: string
A transaction hash for the approval transaction.
It is populated only when transferring ERC20 tokens, as these require an approval step before the actual transfer can occur.
transferTxhash?: string
A transaction hash of the transfer operation.
transferStatus?: TransactionStatus
A transfer status.
error?: Error
An error information associated with the transfer.
It is populated only when the transfer of ERC20 tokens fails.
Last updated 1 year ago