Avalanche · Schema

EVMInput

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
fromAddress string EVM address from which the asset is exported in ExportTx.
asset object AssetAmount details for the asset being transferred.
credentials array Credentials that signed this transaction.
View JSON Schema on GitHub

JSON Schema

EVMInput.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/EVMInput.json",
  "title": "EVMInput",
  "type": "object",
  "properties": {
    "fromAddress": {
      "type": "string",
      "description": "EVM address from which the asset is exported in ExportTx.",
      "examples": [
        "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c"
      ]
    },
    "asset": {
      "description": "AssetAmount details for the asset being transferred.",
      "allOf": [
        {
          "$ref": "#/components/schemas/AssetAmount"
        }
      ]
    },
    "credentials": {
      "description": "Credentials that signed this transaction.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UtxoCredential"
      }
    }
  },
  "required": [
    "fromAddress",
    "asset",
    "credentials"
  ]
}