nado-sdk 2.1.0

Official Rust SDK for the Nado Protocol API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use alloy::sol;

sol! {
    #[sol(rpc)]
    #[allow(missing_docs)]
    contract GasInfo {
        function getPricesInWei() external pure returns (
            uint256, uint256, uint256, uint256, uint256, uint256
        );
        function getL1Fee(bytes _data) external view returns (uint256);
    }
}