ERC1155Api
ERC1155Api
Method
HTTP request
Description
balanceOf
Example
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*
val apiInstance = ERC1155Api()
val name : kotlin.String = name_example // kotlin.String |
val authorization : kotlin.String = authorization_example // kotlin.String |
val erc1155Request : Erc1155Request = // Erc1155Request |
try {
val result : TransactionAPIResponse = apiInstance.balanceOf(name, authorization, erc1155Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ERC1155Api#balanceOf")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ERC1155Api#balanceOf")
e.printStackTrace()
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
balanceOfBatch
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
isApprovedForAll
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
safeBatchTransferFrom
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
safeTransferFrom
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
setApprovalForAll
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated