canic-cdk 0.27.0

Canic — a canister orchestration and management toolkit for the Internet Computer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::spec::prelude::*;

//
// Icrc1TransferArgs
// Canonical arguments for an ICRC-1 `transfer` call with consistent naming.
//

#[derive(CandidType, Deserialize)]
pub struct Icrc1TransferArgs {
    pub from_subaccount: Option<Subaccount>,
    pub to: Account,
    pub amount: candid::Nat,
    pub fee: Option<candid::Nat>,
    pub memo: Option<Vec<u8>>,
    pub created_at_time: Option<u64>,
}