Skip to main content

dlp_api/args/
top_up_ephemeral_balance.rs

1use borsh::{BorshDeserialize, BorshSerialize};
2
3#[derive(Debug, BorshSerialize, BorshDeserialize)]
4pub struct TopUpEphemeralBalanceArgs {
5    /// The amount to add to the ephemeral balance.
6    pub amount: u64,
7    /// The index of the ephemeral balance account to top up which allows
8    /// one payer to have multiple ephemeral balance accounts.
9    pub index: u8,
10}