Skip to main content

Get prerequisite transactions

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

This endpoint returns the requisite blockchain transactions required to permit the creation of a new Immersve Card. It also indicates if everything is in order before instructing the client of any blockchain transactions. Insufficient KYC and AML status may trigger an error response.

Request Body required
  • chainId string

    Chain ID (see https://chainlist.org/)

  • amount string

    The amount to be locked in the smart contract denominated in the major unit.

  • token string

    Possible values: [USDC]

    The asset or token the amount is denominated in.

Responses

User is allowed to generate a new card. Client should be able to request transactions from the user wallet to Immersve wallet The client needs to parse transaction info and convert it to the chain-specific calls


Schema
  • requiredTransactions object[]
  • Array [
  • type string

    Possible values: [erc20_approval, smart_contract_write]

  • params object
  • oneOf

  • spender string

    The address of the spender of the ERC-20 approval

  • amount string

    The approval amount

  • token string
  • ]
Loading...