Skip to main content

Sign EVM Transactions

POST 

/PayTool/EVM/signTransaction

Sign withdrawal orders on EVM chain.

Request

Body

required

    chainId int32required

    Chain ID

    This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface

    orderIds int32[]required

    ID list of pending withdrawal orders

    Query Withdrawal List to get pending orders.

    withdrawItems

    object[]

    required

    List of withdrawal items

  • Array [

  • outTradeNo string

    Merchant withdrawal order number

    currencyId int32

    Currency ID passed when the merchant creates a withdrawal order

    withdrawAddress string

    Withdrawal address passed when the merchant creates a withdrawal order

    withdrawAmount string

    Withdrawal amount passed when the merchant creates a withdrawal order

    Note: This is the actual amount, must be positive, and can be a decimal

  • ]

Responses

OK

Schema

    code int32required

    Status code

    msg stringrequired

    Status message on success or error message on failure

    data

    object

    nullable

    txHash string

    Transaction hash

    description string

    Detailed description when error

Loading...