Create an unsigned Avalanche validator staking transaction

Creates an unsigned Avalanche P-Chain validator staking transaction (AddPermissionlessValidatorTx) for a
CDAO-managed validator. The custodian supplies the account, funding P-Chain wallet, stake amount, staking
duration, and optional reward addresses. CDAO selects the validator NodeID and BLS proof-of-possession from
backend configuration; those values are returned in transactionSummary for custodian verification before signing.

The returned unsignedTxHash is the digest the custodian signs offline. The returned unsignedTxSerialized is
an immutable representation of the unsigned P-Chain transaction. Any change to amount, duration, reward owner,
delegation fee, or selected validator requires creating a new unsigned transaction and collecting a new signature.

Use /avalanche/transactions/prepare to attach the custodian signature, then /avalanche/transactions/submit
to dry-run or broadcast the signed transaction to the P-Chain. rewardAddress receives the validator's own
validation rewards. delegationRewardAddress receives delegation-fee rewards earned from delegators; if omitted,
it defaults to rewardAddress.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required

The UUID of the account initiating the stake.

string
required

P-Chain funding wallet and signer. By default the stake principal, change, and rewards all return
to this address.

string
required
^(?:[1-9][0-9]*(?:\.[0-9]{1,9})?|0\.[0-9]{0,8}[1-9])$

Amount to stake, in AVAX whole tokens (decimal string, e.g. "1" = 1 AVAX; up to 9 fractional digits, no leading zero).
Minimum stake: 1 AVAX on Testnet (Fuji), 2000 AVAX on Mainnet.

integer
required
≥ 2

Requested staking duration in days. Minimum duration: 90 days on Mainnet, 2 days on Testnet
(Fuji); CDAO validates the environment-specific minimum at request time. Start time is the
transaction acceptance time; the resolved endTime is returned in the response summary.

string

(Optional) P-Chain address to receive the validator's own staking rewards. Defaults to walletAddress.

string

(Optional) P-Chain address to receive delegation-fee rewards earned from delegators. Defaults to rewardAddress.

integer
1 to 100

(Optional) Delegation fee as a percentage (20 = 20%). Defaults to the network minimum delegation fee.

Responses

401

Access token or App Id is missing or invalid

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json