Skip to main content

/wallet/withdrawexpireunfreeze REST API Endpoint

Withdraw your unfrozen balance in Stake2.0 by calling this API. After executing the /wallet/unfreezebalancev2 transaction and waiting for a specific number of days (N), which is a network parameter, users can use this API to retrieve their funds.

Updated on
Oct 04, 2023
Please note that Stake 2.0 supports multiple partial unstakes. Through this API, all unstaked funds that have passed the N-day lock-up period will be withdrawn at one time.

Body Parameters

owner_address
string
REQUIRED

The owner address, encoded in hexString

permission_id
integer

The ID of the permission that is required to execute the transaction

visible
boolean

A boolean value indicating whether the address is in base58 format

Returns

visible

A boolean value indicating whether the transaction was successful

txid

The transaction id

raw_data

An object that contains the transaction details with the following fields:

contract

An array of objects containing information about the delegate resource contract

parameter

An object containing the delegate resource contract parameters

value

An object containing the values of the delegate resource contract parameters

owner_address

The owner address

type_url

The URL of the freeze balance contract type

type

The type of the freeze balance contract

ref_block_bytes

The ref block bytes of the transaction

ref_block_hash

The ref block hash of the transaction

expiration

This is a timestamp indicating the expiration time of the transaction in milliseconds

timestamp

This is a timestamp indicating the time at which the transaction was created in milliseconds

raw_data_hex

The hexadecimal representation of the raw data in the transactio

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free