Function mpl_auction_house::auction_house::buy
source · [−]pub fn buy<'info>(
ctx: Context<'_, '_, '_, 'info, Buy<'info>>,
trade_state_bump: u8,
escrow_payment_bump: u8,
buyer_price: u64,
token_size: u64
) -> Result<()>
Expand description
Create a private buy bid by creating a buyer_trade_state
account and an escrow_payment
account and funding the escrow with the necessary SOL or SPL token amount.