novax-executor 0.2.12

Part of the NovaX framework, this crate facilitates the execution of transactions and queries against smart contracts on the blockchain.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};
use crate::network::models::generic::response::GatewayResponse;

pub type AddressGatewayResponse = GatewayResponse<AddressGatewayInfo>;

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct AddressGatewayInfo {
    pub account: AddressGatewayInfoAccount
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct AddressGatewayInfoAccount {
    pub address: String,
    pub nonce: u64,
    pub balance: String
}