Enjin Documentation
Search…
Enjin Documentation
Enjin Docs Navigation
Introduction
About Enjin
Common Blockchain & Enjin Platform Terms
About the Enjin Platform
What is the Enjin Platform?
What is Enjin Wallet, EnjinX & NFT.io?
What is the Enjin Wallet Daemon?
What is Enjin Beam?
What is GraphQL and how does it interact with the Enjin Platform API?
Getting Started with the Enjin Platform API
Creating your Enjin Platform Account
Project & Player Requests
Quick Start-up Guide to use Goërli
Creating your first Blockchain Token
Setting Metadata on your first Enjin Token
Minting your first Enjin Token
Advanced Enjin Platform API Usage
Enjin Platform API Requests
Managing Players
Managing Assets
Enjin Assets Bridge
Trade Requests
Batch Sending Assets
Batch Minting Assets
Releasing Assets from Reserve
Send Enjin Request
Advanced Metadata Guide
Enjin Wallet Deep Linking
API Glossary
EnjinX API
Errors and Statuses
Understanding Errors in the Enjin Platform API (Work In Progress)
Wallet Daemon
Enjin Wallet Daemon Overview
Enjin Platform SDKs
Introduction to Enjin Platform SDKs
RESOURCES
Enjin Changelog
Enjin Website
Efinity Whitepaper
Enjin Whitepaper
Enjin Products Status
Contact Support
GraphQL Playground
DOWNLOADS
C# SDK
C++ SDK
Java SDK
Enjin Wallet Daemon
EnjinCraft Plugin
Enjin Wallet App
Powered By
GitBook
Batch Sending Assets
Learn more about batch sending assets
Batch Sending Assets is a useful mutation if you are planning on sending assets to multiple users through a single transaction.
Using this request will allow you to send an asset to users of your project or request an asset to be transferred from
user A
to
user B
The
AdvancedSendAsset
request has one single mutation.
Mutation
Usage
AdvancedSendAsset
Send one or more assets in one transaction.
The
value
property is only applicable in case you are minting FTs as NFTs are assumed to have a value of 1.
AdvancedSendAsset
Use this mutation to send assets from one wallet to another wallet.
mutation
{
AdvancedSendAsset
(
transfers
:
[
{
from
:
"
WalletAddress
"
to
:
"
WalletAddress
"
assetId
:
"
xxxxxxxxxxxxxx
"
assetIndex
:
"
xxxxxxxxxxxxxx
"
value
:
"1"
}
{
from
:
"
WalletAddress
"
to
:
"
WalletAddress
"
assetId
:
"
xxxxxxxxxxxxxx
"
assetIndex
:
"
xxxxxxxxxxxxxx
"
value
:
"1"
}
]
)
{
transactionId
id
state
value
asset
{
name
id
}
user
{
name
}
}
}
If all the request parameters are correct, this should be the expected response.
{
"data"
:
{
"AdvancedSendAsset"
:
{
"transactionId"
:
null
,
"id"
:
31369
,
"state"
:
"PENDING"
,
"value"
:
"1"
,
"asset"
:
{
"name"
:
"New Test Asset"
,
"id"
:
"788000000000089f"
},
"user"
:
null
}
}
}
After approving the transaction, the tokens should be transferred over to the address once the transaction is completed.
Previous
Trade Requests
Next
Batch Minting Assets
Last modified
3mo ago
Export as PDF
Copy link