Fix Coinbase for new API Structure (#103930)
This commit is contained in:
parent
0eafc8f2cd
commit
2557e41ec0
6 changed files with 50 additions and 45 deletions
|
@ -12,26 +12,23 @@ BAD_EXCHANGE_RATE = "ETH"
|
|||
MOCK_ACCOUNTS_RESPONSE = [
|
||||
{
|
||||
"balance": {"amount": "0.00001", "currency": GOOD_CURRENCY},
|
||||
"currency": GOOD_CURRENCY,
|
||||
"currency": {"code": GOOD_CURRENCY},
|
||||
"id": "123456789",
|
||||
"name": "BTC Wallet",
|
||||
"native_balance": {"amount": "100.12", "currency": GOOD_CURRENCY_2},
|
||||
"type": "wallet",
|
||||
},
|
||||
{
|
||||
"balance": {"amount": "100.00", "currency": GOOD_CURRENCY},
|
||||
"currency": GOOD_CURRENCY,
|
||||
"currency": {"code": GOOD_CURRENCY},
|
||||
"id": "abcdefg",
|
||||
"name": "BTC Vault",
|
||||
"native_balance": {"amount": "100.12", "currency": GOOD_CURRENCY_2},
|
||||
"type": "vault",
|
||||
},
|
||||
{
|
||||
"balance": {"amount": "9.90", "currency": GOOD_CURRENCY_2},
|
||||
"currency": "USD",
|
||||
"currency": {"code": GOOD_CURRENCY_2},
|
||||
"id": "987654321",
|
||||
"name": "USD Wallet",
|
||||
"native_balance": {"amount": "9.90", "currency": GOOD_CURRENCY_2},
|
||||
"type": "fiat",
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue