P2P Offers
Struct
pub struct P2pOffer {
// Account tag
pub tag: Tag,
// Derivation nonce
pub nonce: u8,
// The owner of the p2p offer
pub owner: Pubkey,
// The counter party of the offer
pub counter_party: Pubkey,
// The domain(s) being traded
pub domains: Vec<Pubkey>,
// Domains against which the offer is priced
pub quotes: Vec<Pubkey>,
// Amount of SOL (in addition to the quote domains)
pub amount: i64,
// Expiry timestamp in seconds
pub expiry_ts: u64,
}Make P2P Offer
Accept P2P Offer
Cancel P2P Offer
Last updated