Get spending limits and current amount spent

get/api/v2/{coin}/wallet/{walletId}/spending

Returns the wallet's currently configured spending limits and the current amount spent during the periods defined by the spending limits.

Path Parameters

  • coinstringRequired
    A cryptocurrency or token ticker symbol.
    Example: btc
  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$

200 Response

velocityLimitSpending array[object]
coin string
A cryptocurrency or token ticker symbol.
Example: btc
timeWindow string
String representation of the time window in seconds (ex: 0 = per transaction, 3600 = hourly, 86400 = daily).
Example: null
Match pattern: ^-?\d+$
limitAmountString string
String representation of the spending limit in base units.
Example: null
Match pattern: ^-?\d+$
amountSpentString string
String representation of the current amount spent in base units. Guaranteed to not lose precision.
Example: null
Match pattern: ^-?\d+$

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

404 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code