Class Body7
Request body for sending tokens to multiple recipients. Supports native tokens, ERC20, ERC721, and ERC1155 transfers based on the provided parameters.
public class Body7
- Inheritance
-
Body7
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
ChainId
The blockchain network identifier where the transfer will be executed.
[JsonProperty("chainId", Required = Required.Always)]
[Range(1, 2147483647)]
public int ChainId { get; set; }
Property Value
From
The wallet address or ENS name that will send the tokens.
[JsonProperty("from", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string From { get; set; }
Property Value
Recipients
Array of recipients and quantities. Maximum 100 recipients per request.
[JsonProperty("recipients", Required = Required.Always)]
[Required]
[MinLength(1)]
[MaxLength(100)]
public ICollection<Recipients> Recipients { get; set; }
Property Value
TokenAddress
The token contract address. Omit for native token (ETH, MATIC, etc.) transfers.
[JsonProperty("tokenAddress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string TokenAddress { get; set; }
Property Value
TokenId
The token ID for NFT transfers (ERC721/ERC1155). Required for NFT transfers.
[JsonProperty("tokenId", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string TokenId { get; set; }