Skip to main content
POST
/
api
/
staking
/
delegate
/
build
Build delegate transaction
curl --request POST \
  --url https://api.walletsuite.io/api/staking/delegate/build \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "chain": "<string>",
  "from": "<string>",
  "validatorId": "<string>",
  "amountWei": 123,
  "nonce": 123,
  "maxPriorityFeePerGasWei": 123,
  "priorityFeeMultiplier": 123
}
'
{
  "ok": true,
  "code": "<string>",
  "message": "<string>",
  "data": {
    "chain": "<string>",
    "from": "<string>",
    "to": "<string>",
    "valueWei": 123,
    "fee": {
      "mode": "<string>",
      "gasLimit": 123,
      "maxPriorityFeePerGas": 123,
      "maxFeePerGas": 123,
      "gasPrice": 123
    },
    "chainId": 123,
    "data": "<string>",
    "nonce": 123
  }
}

Authorizations

x-api-key
string
header
required

API key provided by WalletSuite team

Body

application/json
chain
string
required
from
string
required
validatorId
string
required
amountWei
integer
required
nonce
integer
maxPriorityFeePerGasWei
integer
priorityFeeMultiplier
number<double>

Response

200 - */*

OK

ok
boolean
required
code
string
required
message
string
required
data
object