Questions?Reach out via Slack or email and we can assist and schedule a call to walk you through the migration if needed
Timeline
- April 1st 2024:
- Release of Figment API V2
- May 15th 2025:
- Deprecation of:
- Rewards API V1
- DOT proxy V1
- ETH Staking Flows API
- ETH Validators API V1
- Deprecation of:
For all endpoints
- All our endpoints are on the same base URL
https://api.figment.io - All endpoints require the API keys to be sent in the
x-api-keyheader - We no longer use numeric IDs, only strings
Rewards API
ETH Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1:
https://eth-rewards.datahub.figment.io/v2/rewards - V2:
https://api.figment.io/ethereum/rewards
- V1:
- You don’t need to pass validator pubkeys anymore. The endpoint knows which accounts you track and returns rewards for those.
- The endpoint’s pagination uses our new API standard: page’s size and number.
- The following field have been renamed:
- The parameter
aggregationis renamed totime_rollup - The parameter
chain_idis renamed tonetwork - The response field
validatoris renamed topubkey - The response meta field
networkis renamed toprotocol - The response’s rewards types
stakingandtipsare renamed toconsensusandexecution - The response field
mev_serviceis renamed tomev_relay
- The parameter
ETH Organization Rewards
- V1 endpoint -> V2 endpoint
- The endpoint URL has changed:
- V1 URL:
https://rewards.datahub.figment.io/v3/rewards/ethereum/validator_addresses
V2 URL:https://api.figment.io/ethereum/validators
- V1 URL:
- The parameter
chain_idis renamed tonetwork - The response field
idis renamed topubkey - The response’s rewards types
stakingandtipsare renamed toconsensusandexecution - The response field
typeis gone - The endpoint’s pagination uses our new API standard: page’s size and number.
ETH Withdrawals
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://eth-rewards.datahub.figment.io/v2/withdrawals - V2 URL:
https://api.figment.io/ethereum/withdrawals
- V1 URL:
- The response field
validator_public_keyis renamed topubkey
ETH Reward Rates
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://eth-rewards.datahub.figment.io/rates - V2 URL:
https://api.figment.io/ethereum/rewards_rates
- V1 URL:
- The response is included within a
datakey - The response’s rewards types
stakingandtipsare renamed toconsensusandexecution
ETH Network Overview
- V1 endpoint -> V2 endpoint
- The endpoint URL has changed:
- V1 URL:
https://eth-network.datahub.figment.io/v3/ethereum/network_overview - V2 URL:
https://api.figment.io/ethereum/network_estimates
- V1 URL:
- The query param
chain_idis renamed tonetwork - The response is included within a
datakey
SOL Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://solana-rewards.datahub.figment.io/v2/rewards - V2 URL:
https://api.figment.io/solana/rewards
- V1 URL:
- You don’t need to pass system or staking accounts anymore. The endpoint knows which accounts you track and returns rewards for those.
- The query param
chain_idis renamed tonetwork - The response is included within a
datakey - The response meta field
networkis renamed toprotocol
SOL Rewards Rates
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://solana-rewards.datahub.figment.io/rates - V2 URL:
https://api.figment.io/solana/rewards_rates
- V1 URL:
DOT Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://polkadot-rewards.datahub.figment.io/v2/rewards - V2 URL:
https://api.figment.io/polkadot/rewards
- V1 URL:
- The query param
chain_idis renamed tonetwork - The response is included within a
datakey - The response meta field
networkis renamed toprotocol
DOT Reward Rates
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://polkadot-rewards.datahub.figment.io/rates - V2 URL:
https://api.figment.io/polkadot/rewards_rates
- V1 URL:
NEAR Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://near-rewards.datahub.figment.io/rates - V2 URL:
https://api.figment.io/near/rewards_rates
- V1 URL:
- The request parameter
accountsis renameddelegator_addresses - The request parameter
aggregationis renamedtime_rollup - The response field
accountsis renamed todelegator_address
ATOM Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://cosmos-rewards.datahub.figment.io/rates - V2 URL:
https://api.figment.io/cosmos/rewards_rates
- V1 URL:
- The request parameter
accountsis renameddelegator_addresses - The response field
accountsis renamed todelegator_address
ADA Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://cardano-rewards.datahub.figment.io/v2/rewards - V2 URL:
https://api.figment.io/cardano/rewards
- V1 URL:
- In the request,
accountsis renamed todelegator_addresses - In the response
accountsis renamed todelegator_addresses - In the response,
periodis renamed toepoch
MATIC Rewards
- V1 Endpoint -> V2 Endpoint
- The endpoint URL has changed:
- V1 URL:
https://matic-rewards.datahub.figment.io/v2/rewards - V2 URL:
https://api.figment.io/polygon/rewards
- V1 URL:
- In the request,
accountsis renamed todelegator_addresses - In the response
accountsis renamed todelegator_address - In the response,
periodis renamed tocheckpoint
Legacy Staking API (Flows)
ETH Aggregated Staking and Unstaking
We're deprecating our ETH Aggregated Staking and ETH Aggregated Unstaking flows. All features are available through our other Ethereum RESTful endpoints:
- Create Validators for synschronously creating validators and getting unsigned staking transactions
- Broadcast Staking Transaction for broadcasting a signed staking transactions and funding validators
- Exit Validators for exiting validators on demand (by withdrawal address or by public keys)
SOL Staking Flows
SOL flows are being replaces by the following RESTful endpoints:
- Besides Rewards, POST requests will create the appropriate unsigned transaction. After signing, call Broadcast
- After broadcasting, Tx Status returns the status of your transaction
- Stakes will return statuses and balances of each of your stake accounts
- Flows:
- Staking:
create_stake_accountanddelegatetransactions are now combined into a single endpoint, Stake - MergeStakeAccount: Replaced by Merge
- SplitStakeAccount: Replaced by Split
- Unstaking:
create_deactivate_txmaps to Undelegate, andcreate_withdraw_txmaps to Withdraw
- Staking:
Staking Flows (Create)
- The endpoint URL has changed:
- V1 URL:
https://{network}-slate.datahub.figment.io/api/v1/flows - V2 URL:
https://api.figment.io/flows
- V1 URL:
Staking Flows (Next)
- The endpoint URL has changed:
- V1 URL:
https://{network}-slate.datahub.figment.io/api/v1/flows/[:flow_id]/next - V2 URL:
https://api.figment.io/flows/[:flow_id]/next
- V1 URL:
Polkadot Proxy
DOT Add Nomination Proxy
- The endpoint URL has changed:
- V1 URL:
https://hubble.figment.io/api/v1/prime/polkadot/nomination_proxy - V2 URL:
https://api.figment.io/polkadot/nomination_proxy
- V1 URL:
DOT Revoke Nomination Proxy
- The endpoint URL has changed:
- V1 URL:
https://hubble.figment.io/api/v1/prime/polkadot/nomination_proxy/revoke_proxy - V2 URL:
https://api.figment.io/polkadot/nomination_proxy/revoke_proxy
- V1 URL:
ETH Validators API
Provision Validators
- V1 Endpoint -> V2 Endpoint
- The URL has changed:
- V1 URL:
https://hubble.figment.io/api/v1/prime/eth2_staking/provision - V2 URL:
https://api.figment.io/ethereum/validators
- V1 URL:
- Before:
/provisionallowed you to create validator public keys in an asynchronous way: it didn’t return the validators data in the response and you needed to poll Get Validators and then call Build Funding Transaction to get a staking transaction for validators. - Now: Creating validators and generating a staking transaction to fund them are now merged into one synchronous endpoint: Create Validators.
- The parameter
eth2_network_nameis renamed tonetwork
Build Funding Transaction
- V1 Endpoint
- This endpoint is not present in the API V2.
- Before: This endpoint allowed you to get a staking transaction to fund N validators that had previously been provisionedusing the Provision Validators endpoint. This was a two step process
- Now: Creating validators and generating a staking transaction to fund them are now merged into one synchronous endpoint: Create Validators.
ETH Get Validators
- The URL has changed:
- V1 URL:
https://hubble.figment.io/api/v1/prime/eth2_staking/validators - V2 URL:
https://api.figment.io/ethereum/validators
- V1 URL:
- The parameter
eth2_network_nameis nownetwork - The response field
presigned_exit_transactionis now an object calledexit_message - Request additional metadata (status history, deposit data, exit message, etc) is now handled with the
include_fieldsparameter. - Validator metadata in the repsonse is now nested directly in the parent
dataobject instead ofdata.attributes - Response field
metaobject in V2 gives you pagination info
