\ERC1155API
All URIs are relative to https://beta.usemoon.ai
BalanceOf
Post /erc1155/{name}/balance-of
BalanceOfBatch
Post /erc1155/{name}/balance-of-batch
IsApprovedForAll
Post /erc1155/{name}/is-approved-for-all
SafeBatchTransferFrom
Post /erc1155/{name}/safe-batch-transfer-from
SafeTransferFrom
Post /erc1155/{name}/safe-transfer-from
SetApprovalForAll
Post /erc1155/{name}/set-approval-for-all
BalanceOf
TransactionAPIResponse BalanceOf(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiBalanceOfRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BalanceOfBatch
TransactionAPIResponse BalanceOfBatch(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiBalanceOfBatchRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IsApprovedForAll
TransactionAPIResponse IsApprovedForAll(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiIsApprovedForAllRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SafeBatchTransferFrom
TransactionAPIResponse SafeBatchTransferFrom(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiSafeBatchTransferFromRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SafeTransferFrom
TransactionAPIResponse SafeTransferFrom(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiSafeTransferFromRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SetApprovalForAll
TransactionAPIResponse SetApprovalForAll(ctx, name).Authorization(authorization).Erc1155Request(erc1155Request).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiSetApprovalForAllRequest struct via the builder pattern
authorization | string | | erc1155Request | Erc1155Request | |
Return type
TransactionAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]