v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
Transactions

Create a consolidate stake request

Permissions required: Initiate Staking and Unstaking

Consolidate a source staking position into a target staking position. Only supported for Ethereum 0x02 validators.

post/transactions/consolidate-stake

Headers

Api-Signaturestring required

A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.

Construction example: toHex( ed25519Sign( signing_key, '{}{}{}{}'.format(timestamp_epoch_seconds, toUpper(httpMethod), httpRequestPath, httpBody) ) )

Api-Timestampinteger required

Current timestamp, represented as unix epoch seconds

Request body

assetTypestring required

A string representing a type of crypto-asset, which usually corresponds to the crypto asset's ticker symbol.

Use /asset-types to list all of the supported asset types for your organization.

descriptionstring nullable

An optional string providing more context to this transaction. It will be visible on the Anchorage Digital iOS app and will not be published to the blockchain.

idempotentIdstring required

A client-provided unique ID for idempotent requests

sourceStakingPositionstring required

Source staking validator public key to consolidate

targetStakingPositionstring required

Target staking validator public key

Example request

{
  "assetType": "ETH",
  "description": "Internal ID: #12838927347",
  "idempotentId": "12838927347",
  "source": {
    "id": "1c920f4241b78a1d483a29f3c24b6c4c"
  },
  "sourceStakingPosition": "0xa1d1...",
  "targetStakingPosition": "0x9647..."
}

Response

Successfully initiated a consolidate stake transaction

Example response

{
  "data": {
    "transactionId": "8696144cca28a634c05858d00e51191408498a7808a837fc4645b4b6997dde09"
  }
}