Table of Contents

Class Body9

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

Request body for sending tokens to multiple recipients. Supports native tokens, ERC20, ERC721, and ERC1155 transfers based on the provided parameters.

public class Body9
Inheritance
Body9
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

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

int

From

The wallet address or ENS name that will send the tokens. If omitted, the project wallet will be used if available.

[JsonProperty("from", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string From { get; set; }

Property Value

string

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

ICollection<Recipients>

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

string

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; }

Property Value

string