Ethereum (ETH)
SDK functions on Ethereum protocol
Stake
Stake a multiple of 32 ETH in a single transaction.
This call generate validation keys on our system and links your Kiln account to them.
These validation keys are automatically deployed after the deposit transaction is made.
Unstake
Craft exit request transactions. We watch these transactions and will exit your validators on your behalf. Exiting a validator can take a couple of days depending on the size of the exit queue.
You can exit multiple validators in one transaction.
Sign and broadcast
On ETH, you have two options for signing and broadcasting transactions.
Fireblocks contract call
The method is usually preferred as it does not require the Fireblocks raw signing feature and allows you to leverage Fireblocks policies.
For this method to work you will need to whitelist the contract address that you are interacting with. When staking ETH with Kiln, it is interacting with our batch deposit contract ( mainnet / testnet - Holesky ).
Once the contract is whitelisted in Fireblocks, you should be able to retrieve the destination id associated with it (in the fireblocks URL or via their API). This id needs to be in the Integration configuration object.
Here is an example showing how to sign and broadcast a transaction with a fireblocks vault.
Checkout the setup fireblocks documentation to setup your vault.
With this method, the transaction is signed and broadcasted through Fireblocks.
Fireblocks raw signing
When using the Fireblocks raw signing feature, you need to make two calls to our SDK, the first to sign the transaction and the second to broadcast it via our API.
Get transaction status
Get the transaction status of a broadcasted transaction by providing its transaction hash.
Decode transaction
Decode a serialized transaction previously crafted. You can use this to get more information about a transaction prior to broadcast it such as the gas fees used, the function parameters etc.
Get stakes
Get stakes real time data. You can get stakes by Kiln accounts, by validators or by wallets.
Get rewards
Get historical rewards data by day. You can get rewards aggregated by Kiln accounts, by validators or by wallets.
Get network stats
Get some network stats.
Get Kiln stats
Get Kiln APRs.
Last updated