Skip to main content
POST
/
v1
/
project-wallet
/
transfer
curl --request POST \
  --url https://api.lootexplus.com/v1/project-wallet/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "native",
  "chainId": 1,
  "recipientAddress": "0x1234567890123456789012345678901234567890",
  "amount": "1000000000000000000"
}
'
{
  "id": "<string>",
  "jobId": "<string>",
  "status": "<string>",
  "projectId": "<string>",
  "transactionHash": "<string>",
  "chainId": 123,
  "from": "<string>",
  "to": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "value": "<string>",
  "data": "<string>",
  "gasUsed": "<string>",
  "gasPrice": "<string>",
  "totalGasFee": "<string>",
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Secret key for authentication

Body

application/json

Transfer request details

type
enum<string>
required

The type of token to transfer. (Options: native, erc20, erc721, erc1155)

Available options:
native,
erc20,
erc721,
erc1155
Example:

"native"

chainId
number
required

The chain ID of the token to transfer

Example:

1868

recipientAddress
string
required

Recipient wallet address

Example:

"0x742D35Cc6634C0532925a3b8D4c4D9e2c8E0B3E9"

contractAddress
string

Contract address - required for ERC20, ERC721, and ERC1155 transfers

Example:

"0x1234567890123456789012345678901234567890"

amount
string

Transfer amount in smallest unit (wei for ETH, base units for tokens) - required for native, ERC20, and ERC1155 transfers. Must be a positive integer string without decimals.

Example:

"1000000000000000000"

tokenId
string

Token ID - required for ERC721 and ERC1155 transfers. Must be a positive integer string.

Example:

"123"

data
string

Additional data for ERC1155 transfers (optional)

metadata
object

Additional metadata for the transfer (optional)

Response

Transfer successful

id
string
required
jobId
string
required
status
string
required
projectId
string
required
transactionHash
string
required
chainId
number
required
from
string
required
to
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
value
string
data
string
gasUsed
string
gasPrice
string
totalGasFee
string
metadata
object