Contract: srcDeposit

Peti bridge contract interaction reference


  1. Get the quote result from rfqQuote API

  2. Find the corresponding contract address here

ABI (optional if you use the binding like Typechain)


Lock the assets to source rfq contract. if the bridge token is a native token, use the srcDepositNative.

// typechain method example
    _quote: RFQ.QuoteStruct,
    _submissionDeadline: BigNumberish,
    overrides?: PayableOverrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

Request Parameters


Once the transaction submitting, same as other EVM bridge, user history can be found in TransferHistory API, and the transaction process status can be found in GetTransferStatus API.

Last updated