Erc721API
Erc721API
All URIs are relative to https://beta.usemoon.ai
approve
POST /erc721/{name}/approve
balanceOf
POST /erc721/{name}/balance-of
getApproved
POST /erc721/{name}/get-approved
isApprovedForAll
POST /erc721/{name}/is-approved-for-all
name
POST /erc721/{name}/name
ownerOf
POST /erc721/{name}/owner-of
safeTransferFrom
POST /erc721/{name}/safe-transfer-from
setApprovalForAll
POST /erc721/{name}/set-approval-for-all
symbol
POST /erc721/{name}/symbol
tokenUri
POST /erc721/{name}/token-uri
transfer
POST /erc721/{name}/transfer
transferFrom
POST /erc721/{name}/transfer-from
approve
open class func approve(authorization: String, name: String, erc721Request: Erc721Request, completion: @escaping (_ data: TransactionAPIResponse?, _ error: Error?) -> Void)Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
balanceOf
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
getApproved
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
name
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
ownerOf
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
symbol
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
tokenUri
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
transfer
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]
transferFrom
Example
Parameters
authorization
String
name
String
erc721Request
Erc721Request
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]