Freeze wallet

post/api/v2/{coin}/wallet/{walletId}/freeze

Lock the wallet, preventing any outgoing transactions for a specified number of seconds

Path Parameters

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

Request Body

duration number
time in seconds
javascript
1 2 3 wallet.freeze({ otp: '0000000' }).then(function (freeze) { console.dir(freeze); });

200 Response

time string <date-time>
When the freeze started
expires string <date-time>
When the freeze will end

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

401 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