// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet authorization ="authorization_example"// String | let createAccountInput =CreateAccountInput(privateKey:"privateKey_example")// CreateAccountInput | AccountsAPI.createAccount(authorization: authorization, createAccountInput: createAccountInput) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
authorization
String
createAccountInput
CreateAccountInput
Return type
AccountAPIResponse
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]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet authorization ="authorization_example"// String | let accountName ="accountName_example"// String | AccountsAPI.deleteAccount(authorization: authorization, accountName: accountName) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
authorization
String
accountName
String
Return type
AccountAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet authorization ="authorization_example"// String | let accountName ="accountName_example"// String | AccountsAPI.getAccount(authorization: authorization, accountName: accountName) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
authorization
String
accountName
String
Return type
AccountAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet accountName ="accountName_example"// String | let authorization ="authorization_example"// String | let chainId ="chainId_example"// String | AccountsAPI.getBalance(accountName: accountName, authorization: authorization, chainId: chainId) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
accountName
String
authorization
String
chainId
String
Return type
BalanceAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet accountName ="accountName_example"// String | let authorization ="authorization_example"// String | AccountsAPI.getNonce(accountName: accountName, authorization: authorization) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
accountName
String
authorization
String
Return type
NonceAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet authorization ="authorization_example"// String | AccountsAPI.listAccounts(authorization: authorization) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
authorization
String
Return type
AccountAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/newimportOpenAPIClientlet accountName ="accountName_example"// String | let authorization ="authorization_example"// String | let signTypedData =SignTypedData(data:"data_example")// SignTypedData | AccountsAPI.signTypedData(accountName: accountName, authorization: authorization, signTypedData: signTypedData) { (response, error) inguard error ==nilelse {print(error)return }if(response) {dump(response) }}
Parameters
Name
Type
Description
Notes
accountName
String
authorization
String
signTypedData
SignTypedData
Return type
SignMessageAPIResponse
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]