Skip to content

decodecustomtx and listaccounthistory have different information #2703

Open
@sandrich

Description

@sandrich

I withdrew 50 DUSD from vault and see the following in decodecustomtx

{
  "txid": "xxx",
  "type": "WithdrawFromVault",
  "valid": true,
  "results": {
    "vaultId": "xxx",
    "to": "some-address",
    "amount": "50.00000000@15"
  }
}

When I look at listvaulthistory or listaccounthistory I see

 {
    "owner": "some-address",
    "blockHeight": xx,
    "blockHash": "xx",
    "blockTime": xx,
    "type": "WithdrawFromVault",
    "txn": 8,
    "txid": "xx",
    "amounts": [
      "16.58973533@DFI",
      "0.00002979@ETH",
      "0.00000150@BTC",
      "50.00000000@DUSD"
    ]
  }

Has this something todo with the negative interest rate with DUSD? Or what are the other amounts in there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions