latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Go Account Staking

Generate staking request for Go Account

Generate an unsigned staking request to preview for a given asset and Go Account. Use only for stake requests - don't use for unstaking requests.

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

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

clientIdstring nullable
amountstring big-integer required

Amount to stake, must be a positive value

Response

Preview response containing unsigned transaction

payloadstring required

The unsigned payload that should be signed by the client.

coinstring required

The coin symbol (e.g. ofc).

tokenstring required

The token symbol (e.g. ofctsui).