LitecoinAPI
LitecoinAPI
All URIs are relative to https://beta.usemoon.ai
createLitecoinAccount
POST /litecoin
getLitecoinAccount
GET /litecoin/{accountName}
listLitecoinAccounts
GET /litecoin
signLitecoinTransaction
POST /litecoin/{accountName}/sign-tx
createLitecoinAccount
open class func createLitecoinAccount(authorization: String, litecoinInput: LitecoinInput, completion: @escaping (_ data: AccountAPIResponse?, _ error: Error?) -> Void)Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
let authorization = "authorization_example" // String |
let litecoinInput = LitecoinInput(network: "network_example", privateKey: "privateKey_example") // LitecoinInput |
LitecoinAPI.createLitecoinAccount(authorization: authorization, litecoinInput: litecoinInput) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}Parameters
authorization
String
litecoinInput
LitecoinInput
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]
getLitecoinAccount
Example
Parameters
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]
listLitecoinAccounts
Example
Parameters
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]
signLitecoinTransaction
Example
Parameters
authorization
String
accountName
String
litecoinTransactionInput
LitecoinTransactionInput
Return type
LitecoinAPIResponse
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]