Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Sep 10, 2024
1 parent bc14f09 commit 66473c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ pub enum PaymentError {
#[derive(Debug, CandidType, Deserialize, Clone, Eq, PartialEq)]
#[non_exhaustive]
pub enum PaymentType {
/// The caller is paying with cycles attached to the call.
///
/// Note: This is not available for ingress messages.
///
/// Note: The API does not require additional arguments to support this payment type.
AttachedCycles,
Icrc2Cycles(Icrc2Payer),
}
Expand Down

0 comments on commit 66473c0

Please sign in to comment.