Skip to main content

Withdrawal Confirmation

When sinohope receives a withdrawal request, it will send a confirmation request to the URL specified by the merchant. For callback rules, please refer to the relevant instructions in MPC WaaS Quick Start.

Request Body
    requestId string required

    The unique ID of the request, unchanged after multiple calls

    requestDetail object required

    Detailed information of the callback request; each type of callback request corresponds to a different requestDetail structure; the format is serialized JSON string.

    sinoId string required

    Sinohope is a unique identifier for withdrawal transactions

    walletId string required

    wallet id

    chainSymbol string required

    Unique identification of the chain

    assetId integer required

    Unique token identifier

    from string required

    from address

    to string required

    to address

    toTag string required

    tag

    note string

    Fill in the value when creating a withdrawal transaction

    amount string required

    Amount (before precision conversion)

    decimal integer required

    Precision

    fee string required

    Fee

    gasPrice string

    ethlike will have a value, non-ethlike will be given 0.

    gasLimit string

    ethlike will have a value, non-ethlike will be given 0.

    brc20Details object[]
  • Array [
  • method string

    operation type

    ticker string

    inscription name

    quantity string

    the number of this operation

    inscriptionId string

    inscription id

    step int

    1:commit 2:reveal 3:transfer

    from string

    from address

    to string

    to address

  • ]
  • runeDetails object[]
  • Array [
  • fromAddress string
    toAddress string
    runeName string
    runeId string
    runeSpacedName string
    runeSymbol string
    runeDivisibility int
  • ]
  • extraInfo string

    Other information related to the callback request; there is currently no clear information.

Responses

successful operation


Schema
    code integer
    requestId string

    The unique ID of the request, unchanged after multiple calls

    message string

    Error message

    action string

    Task execution instructions, APPROVE approval, REJECT rejection

Loading...