pub struct CreateListingRequest {Show 13 fields
pub seller_pubkey_hex: String,
pub coordinator_pubkey_hex: String,
pub network: String,
pub inscription_id: String,
pub seller_outpoint: OutPoint,
pub seller_prevout: TxOut,
pub seller_payout_script_pubkey: ScriptBuf,
pub recovery_script_pubkey: ScriptBuf,
pub ask_sats: u64,
pub fee_rate_sat_vb: u64,
pub created_at_unix: i64,
pub expires_at_unix: i64,
pub nonce: u64,
}Expand description
Input parameters for deterministic fixed-price listing template construction.
Fields§
§seller_pubkey_hex: StringSeller x-only Taproot public key hex.
coordinator_pubkey_hex: StringCoordinator x-only Taproot public key hex.
network: StringBitcoin network identifier.
inscription_id: StringInscription identifier.
seller_outpoint: OutPointSeller-controlled outpoint holding the inscription before listing.
seller_prevout: TxOutPrevout metadata for seller_outpoint.
seller_payout_script_pubkey: ScriptBufScript receiving ask + postage in the sale transaction.
recovery_script_pubkey: ScriptBufScript receiving the inscription if seller recovers/cancels the listing.
ask_sats: u64Ask price in sats, excluding postage.
fee_rate_sat_vb: u64Target fee rate for the final sale.
created_at_unix: i64UNIX timestamp (seconds) listing creation time.
expires_at_unix: i64UNIX timestamp (seconds) listing expiration time.
nonce: u64Caller-controlled nonce for uniqueness.
Trait Implementations§
Source§impl Clone for CreateListingRequest
impl Clone for CreateListingRequest
Source§fn clone(&self) -> CreateListingRequest
fn clone(&self) -> CreateListingRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateListingRequest
impl Debug for CreateListingRequest
Auto Trait Implementations§
impl Freeze for CreateListingRequest
impl RefUnwindSafe for CreateListingRequest
impl Send for CreateListingRequest
impl Sync for CreateListingRequest
impl Unpin for CreateListingRequest
impl UnsafeUnpin for CreateListingRequest
impl UnwindSafe for CreateListingRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more