Type alias DepositToBuyerAccountInput

DepositToBuyerAccountInput: {
    auctionHouse: Pick<AuctionHouse, "address" | "authorityAddress" | "hasAuctioneer" | "isNative" | "treasuryMint" | "feeAccountAddress">;
    amount: SolAmount | SplTokenAmount;
    buyer?: Signer;
    auctioneerAuthority?: Signer;
}

Type declaration

  • auctionHouse: Pick<AuctionHouse, "address" | "authorityAddress" | "hasAuctioneer" | "isNative" | "treasuryMint" | "feeAccountAddress">

    The Auction House in which escrow buyer deposits funds. We only need a subset of the AuctionHouse model but we need enough information regarding its settings to know how to deposit funds.

    This includes, its address, authority address, treasury mint, etc.

  • amount: SolAmount | SplTokenAmount

    Amount of funds to deposit. This can either be in SOL or in the SPL token used by the Auction House as a currency.

  • Optional buyer?: Signer

    The buyer who deposits funds. This expects a Signer.

    Default Value

    metaplex.identity()

  • Optional auctioneerAuthority?: Signer

    The Auctioneer authority key. It is required when Auction House has Auctioneer enabled.

    Default Value

    Defaults to not being used.

Generated using TypeDoc