Transfer constructor

Transfer({
  1. required int accountId,
  2. required String toAddress,
  3. required int fromSubAccountId,
  4. required int toSubAccountId,
  5. required int token,
  6. required String fee,
  7. required String amount,
  8. required int nonce,
  9. int? ts,
  10. dynamic hint,
})

Implementation

factory Transfer(
        {required int accountId,
        required String toAddress,
        required int fromSubAccountId,
        required int toSubAccountId,
        required int token,
        required String fee,
        required String amount,
        required int nonce,
        int? ts,
        dynamic hint}) =>
    RustLib.instance.api.transferNew(
        accountId: accountId,
        toAddress: toAddress,
        fromSubAccountId: fromSubAccountId,
        toSubAccountId: toSubAccountId,
        token: token,
        fee: fee,
        amount: amount,
        nonce: nonce,
        ts: ts,
        hint: hint);