---
title: "Create ERC20 transaction"
method: POST
path: "/api/v2/arbitrum/transactions/erc20"
tags: ["Arbitrum Transactions"]
---

# Create ERC20 transaction

`POST /api/v2/arbitrum/transactions/erc20`

This method creates a new ERC20 transaction. <br>

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data', required

## Request body

- object
  - `from` string, required — The address to send the transaction from. Must match the regex /^(0x)?[0-9a-f]{40}$/i.
  - `contractaddress` string, required — The address of the ERC20 contract. Must match the regex /^(0x)?[0-9a-f]{40}$/i.
  - `to` string, required — The address to send the transaction to. Must match the regex /^(0x)?[0-9a-f]{40}$/i.
  - `gas` integer — The gas limit for the transaction.
  - `gasprice` number — The gas price for the transaction.
  - `maxPriorityFeePerGas` number — The maximum priority fee per gas for the transaction.
  - `maxFeePerGas` number — The maximum fee per gas for the transaction.
  - `password` string — The password to unlock the wallet if you working with a password protected wallet created with chaingateway. . This field is required when <code>privatekey</code> is not present.
  - `privatekey` string — The private key to sign the transaction, only needed if working with non-secure chaingateway wallet.
  - `nonce` string — The nonce for the transaction.
  - `amount` number, required — The amount of the ERC20 token to send.

## Response `201`

Succesfully created

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `adderess` string

## Other responses

- `401` — Wrong password
- `422` — Insufficent funds

---

[API](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation.md) · [All operations](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaingateway/chaingateway-api-documentation/versions/ddb709b4ade7/schema)
