latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Go Account Staking

Finalize staking request for Go Account

Create a finalized staking request based on previously previewed data for a given asset and Go Account.

post/api/go-staking/v1/{coin}/accounts/{accountId}/requests/finalize

Path parameters

coin'OFCSOL' | 'OFCSUI' required

Off-chain symbol for the coin.

The staking asset.

accountIdstring required

Account ID to fetch the staking request for.

Request body

OR

Response

Staking request successfully created

idstring uuid required
clientIdstring
status'NEW' | 'PENDING' | 'FAILED' | 'REJECTED' | 'CONFIRMED' | 'COOLDOWN' | 'WARMUP' | 'UNSUPPORTED' required

Coarse-grained status for staking requests.

type'STAKE' | 'UNSTAKE' | 'UNSUPPORTED'

Type of staking request. STAKE to delegate, UNSTAKE to undelegate. UNSUPPORTED is a fallback.

coinstring
goAccountIdstring required
errorstring
amountstring big-integer required
createdDatestring date-time required
statusModifiedDatestring date-time
source'MANUAL' | 'AUTO_STAKE'