Build your DeFi app with Alchemy
Your DeFi toolbox
Speedy indexing for custom GraphQL APIs
Ship faster with a custom API for your onchain data. Never worry about subgraph downtime or lag again.
Code preview
cd <SUBGRAPH_DIRECTORY>
graph deploy <SUBGRAPH_NAME> \
--version-label <VERSION_NAME> \
--node https://subgraphs.alchemy.com/api/subgraphs/deploy \
--deploy-key <DEPLOY_KEY>
--ipfs https://ipfs.satsuma.xyz
A complete account solution
No seed phrase, no gas fees. Bring users onchain in seconds using smart accounts.
Code preview
const provider = new AlchemyProvider(providerConfig).connect(
(rpcClient) =>
new LightSmartContractAccount({
...accountConfig,
rpcClient,
})
);
const { hash } = await provider.sendUserOperation(uo);
Token balances and metadata
The token data your users expect, no token list required. Available on all EVM-supported chains.
Code preview
curl --request POST \
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "alchemy_getTokenBalances",
"params": [
"0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5",
"erc20"
]
}
'
Portfolio management, simplified
100x faster than others. One request to get all historical transaction activity, including internal transfers.
Code preview
curl --request POST \
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "alchemy_getAssetTransfers",
"params": [
{
"fromBlock": "0x0",
"toBlock": "latest",
"toAddress": "0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1",
"withMetadata": false,
"excludeZeroValue": true,
"maxCount": "0x3e8"
}
]
}
'
Cheaper, faster, safer transactions
7.9x faster, 100% success rate. Transaction simulation, frontrunning protection, and real-time notifications.
Code preview
curl --request POST \
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"method": "alchemy_sendGasOptimizedTransaction"
}
'
Supported chains
Ethereum
Arbitrum
Optimism
Polygon
Polygon zkEVM
Starknet
Base
Solana
Astar
Case Studies
A proven track record
"Working with Alchemy has helped us save the equivalent of 3 full-time engineers, who otherwise would have to be heads down on infra maintenance, at all times."
Evgeny Yurtaev
CEO & Co-founder, Zerion
Build the future of finance
Power DeFi transactions and wallets participating in decentralized finance.
DeFi runs on decentralized protocols rather than banks or governments, providing more transparency for your users.
DeFi automates data and processes through smart contracts, making it more efficient than human-operated systems.
New ways to earn for your users, including yield farming, swapping, staking, and accessing liquidity pairs & reserves.
Get in touch with us
Reach out to us if you are interested in getting involved with decentralized finance or building a DeFi application on Alchemy.