@insignia-education/api-sdk-js 0.15.127 → 0.15.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/v1/Admin.js +10 -3
package/package.json
CHANGED
package/src/api/v1/Admin.js
CHANGED
|
@@ -53,10 +53,17 @@ export default class Admin {
|
|
|
53
53
|
* - `earn` — Simple Earn positions `{ asset, amount, type }`. Read from the
|
|
54
54
|
* dedicated endpoints, not the `LD*` pseudo-assets in the Spot response
|
|
55
55
|
* (those lag and under-report), which are stripped from `spot`.
|
|
56
|
-
* - `transactions` — deposits, withdrawals
|
|
56
|
+
* - `transactions` — deposits, withdrawals, Binance Pay and P2P trades over
|
|
57
57
|
* Binance's 90-day window, newest first:
|
|
58
|
-
* `{ type, at, asset, amount, network, counterparty,
|
|
59
|
-
*
|
|
58
|
+
* `{ type, at, asset, amount, network, counterparty, tx_id, fiat_amount,
|
|
59
|
+
* fiat_currency, unit_price, pay_method, completed }` where type is
|
|
60
|
+
* `deposit` | `withdrawal` | `pay-in` | `pay-out` | `p2p-buy` | `p2p-sell`.
|
|
61
|
+
* Only P2P trades carry a fiat leg (`fiat_amount`/`fiat_currency`/
|
|
62
|
+
* `unit_price`/`pay_method`); they're null for every other type.
|
|
63
|
+
* `counterparty` is the destination wallet on a withdrawal and the other
|
|
64
|
+
* person on Pay/P2P, but null on a deposit — Binance records only our own
|
|
65
|
+
* receiving address there, so the sender is reachable only by looking
|
|
66
|
+
* `tx_id` up on-chain. `tx_id` is set for on-chain movements only.
|
|
60
67
|
*
|
|
61
68
|
* Resolves `{ available: false }` if the proxy isn't configured or the call fails.
|
|
62
69
|
*/
|