πŸ‘‰ ADA API Overview

Get staked in minutes with recipes!

πŸ“˜

Staking with Fireblocks? β†’ Click here

Staking from a Hot Wallet? β†’ Click here

Using own RPC Node (and need to merge witnesses into a single CBOR to broadcast)? β†’ Click here

Delegating

When you first delegate on Cardano, the first step is to register your stake key and delegate to a stake pool. Figment’s API allows you to do both in a single transaction, making the process simpler and faster.

Step 1: Understand What Happens

When you register a stake key and delegate:

Step 2: Generate the Combined Stake Key Registration + Delegation Payload

Figment provides a Cardano API endpoint to generate the transaction payload for both registering a stake key and delegating:

πŸ‘‰ Endpoint: POST /delegate

Key steps:

⚠️

This means you don’t need two separate transactions. Everything is handled in one step.

A stake key is a unique identifier that links your wallet to a reward account. Registering it allows you to earn rewards from staking.

πŸ”€

To enable rewards withdrawal, Cardano requires that stakers either:

The /delegate endpoint explicitly sets wallet addresses to abstain.

Step 3: Sign & Broadcast

Use your wallet or custody API to sign the signing_payload.

After signing, you will receive a signature that can be submitted via:

Transfer

Figment’s API lets you transfer ADA between wallets by generating a transaction payload that you can sign and submit to broadcast.

Step 1: Understand What Happens

Step 2: Generate the Transfer Payload

πŸ‘‰ Endpoint: POST /transfer

Key steps:

Step 3: Sign & Broadcast

Use your wallet or custody API to sign the signing_payload. After signing, you will receive a signature that can be submitted via:

πŸ‘‰ Endpoint: POST /broadcast
πŸ‘‰ Endpoint: POST /broadcast/fireblocks:

πŸ”€

Consolidating UTXOs

If you have a very large number of small UTXOs (often as a result of active DeFi trading), you may want to consolidate those UTXOs to reduce gas fees. With smaller numbers of UTXOs, it may cost more gas to consolidate than you will save by consolidating. Consolidating UTXOs is not recommended in most cases.

NOTE: if you do consolidate UTXO, this will not impact unstaking downstream.