wallet-api

Addresses

addressesAddressDelete

Deletes the given subwallet from the container

Note that you cannot delete the 'primary' address, the first address created in the wallet.


/addresses/{address}

Usage and SDK Samples

curl -X DELETE -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/{address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            apiInstance.addressesAddressDelete(address);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesAddressDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            apiInstance.addressesAddressDelete(address);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesAddressDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.

AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Deletes the given subwallet from the container
[apiInstance addressesAddressDeleteWith:address
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.addressesAddressDelete(address, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesAddressDeleteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

            try
            {
                // Deletes the given subwallet from the container
                apiInstance.addressesAddressDelete(address);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesAddressDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try {
    $api_instance->addressesAddressDelete($address);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesAddressDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

eval { 
    $api_instance->addressesAddressDelete(address => $address);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesAddressDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try: 
    # Deletes the given subwallet from the container
    api_instance.addresses_address_delete(address)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesAddressDelete: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesAddressPaymentIDGet

Creates an integrated address from an address and payment ID


/addresses/{address}/{paymentID}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/{address}/{paymentID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        String paymentID = paymentID_example; // String | The payment ID to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_8 result = apiInstance.addressesAddressPaymentIDGet(address, paymentID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesAddressPaymentIDGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        String paymentID = paymentID_example; // String | The payment ID to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_8 result = apiInstance.addressesAddressPaymentIDGet(address, paymentID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesAddressPaymentIDGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.
String *paymentID = paymentID_example; // The payment ID to use for this operation. Should be a 64 char hex string.

AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Creates an integrated address from an address and payment ID
[apiInstance addressesAddressPaymentIDGetWith:address
    paymentID:paymentID
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.

var paymentID = paymentID_example; // {String} The payment ID to use for this operation. Should be a 64 char hex string.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesAddressPaymentIDGet(addresspaymentID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesAddressPaymentIDGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
            var paymentID = paymentID_example;  // String | The payment ID to use for this operation. Should be a 64 char hex string.

            try
            {
                // Creates an integrated address from an address and payment ID
                inline_response_200_8 result = apiInstance.addressesAddressPaymentIDGet(address, paymentID);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesAddressPaymentIDGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
$paymentID = paymentID_example; // String | The payment ID to use for this operation. Should be a 64 char hex string.

try {
    $result = $api_instance->addressesAddressPaymentIDGet($address, $paymentID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesAddressPaymentIDGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
my $paymentID = paymentID_example; # String | The payment ID to use for this operation. Should be a 64 char hex string.

eval { 
    my $result = $api_instance->addressesAddressPaymentIDGet(address => $address, paymentID => $paymentID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesAddressPaymentIDGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
paymentID = paymentID_example # String | The payment ID to use for this operation. Should be a 64 char hex string.

try: 
    # Creates an integrated address from an address and payment ID
    api_response = api_instance.addresses_address_payment_id_get(address, paymentID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesAddressPaymentIDGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required
paymentID*
String
The payment ID to use for this operation. Should be a 64 char hex string.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesCreatePost

Creates a new, random address in the wallet container


/addresses/create

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/create"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_201 result = apiInstance.addressesCreatePost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesCreatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_201 result = apiInstance.addressesCreatePost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesCreatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Creates a new, random address in the wallet container
[apiInstance addressesCreatePostWithCompletionHandler: 
              ^(inline_response_201 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesCreatePost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesCreatePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();

            try
            {
                // Creates a new, random address in the wallet container
                inline_response_201 result = apiInstance.addressesCreatePost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesCreatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();

try {
    $result = $api_instance->addressesCreatePost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();

eval { 
    my $result = $api_instance->addressesCreatePost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesCreatePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()

try: 
    # Creates a new, random address in the wallet container
    api_response = api_instance.addresses_create_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesCreatePost: %s\n" % e)

Parameters

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesGet

Gets a list of all addresses in the wallet container


/addresses

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_200_6 result = apiInstance.addressesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_200_6 result = apiInstance.addressesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Gets a list of all addresses in the wallet container
[apiInstance addressesGetWithCompletionHandler: 
              ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();

            try
            {
                // Gets a list of all addresses in the wallet container
                inline_response_200_6 result = apiInstance.addressesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();

try {
    $result = $api_instance->addressesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();

eval { 
    my $result = $api_instance->addressesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()

try: 
    # Gets a list of all addresses in the wallet container
    api_response = api_instance.addresses_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesImportPost

Imports a subwallet with the given private spend key

It is HIGHLY recommended you provide a scan height with this operation - wallet syncing will have to begin again from the scan height given (defaults to zero) if the scan height is less than the height of the current wallet sync status.


/addresses/import

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/import"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_201_1 result = apiInstance.addressesImportPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesImportPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_201_1 result = apiInstance.addressesImportPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesImportPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_3 *body = ; // 

AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Imports a subwallet with the given private spend key
[apiInstance addressesImportPostWith:body
              completionHandler: ^(inline_response_201_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var body = ; // {Body_3} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesImportPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesImportPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();
            var body = new Body_3(); // Body_3 | 

            try
            {
                // Imports a subwallet with the given private spend key
                inline_response_201_1 result = apiInstance.addressesImportPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesImportPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$body = ; // Body_3 | 

try {
    $result = $api_instance->addressesImportPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesImportPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 

eval { 
    my $result = $api_instance->addressesImportPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesImportPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
body =  # Body_3 | 

try: 
    # Imports a subwallet with the given private spend key
    api_response = api_instance.addresses_import_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesImportPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesImportViewPost

Imports a view only subwallet with the given publicSpendKey

It is HIGHLY recommended you provide a scan height with this operation - wallet syncing will have to begin again from the scan height given (defaults to zero) if the scan height is less than the height of the current wallet sync status.


/addresses/import/view

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/import/view"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_201_1 result = apiInstance.addressesImportViewPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesImportViewPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_201_1 result = apiInstance.addressesImportViewPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesImportViewPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_4 *body = ; // 

AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Imports a view only subwallet with the given publicSpendKey
[apiInstance addressesImportViewPostWith:body
              completionHandler: ^(inline_response_201_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var body = ; // {Body_4} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesImportViewPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesImportViewPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();
            var body = new Body_4(); // Body_4 | 

            try
            {
                // Imports a view only subwallet with the given publicSpendKey
                inline_response_201_1 result = apiInstance.addressesImportViewPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesImportViewPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();
$body = ; // Body_4 | 

try {
    $result = $api_instance->addressesImportViewPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesImportViewPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 

eval { 
    my $result = $api_instance->addressesImportViewPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesImportViewPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()
body =  # Body_4 | 

try: 
    # Imports a view only subwallet with the given publicSpendKey
    api_response = api_instance.addresses_import_view_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesImportViewPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


addressesPrimaryGet

Gets the 'primary' address

The primary address is the first wallet created, and the one used as the change address if not specified.


/addresses/primary

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/primary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressesApi;

import java.io.File;
import java.util.*;

public class AddressesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_200_7 result = apiInstance.addressesPrimaryGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesPrimaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressesApi;

public class AddressesApiExample {

    public static void main(String[] args) {
        AddressesApi apiInstance = new AddressesApi();
        try {
            inline_response_200_7 result = apiInstance.addressesPrimaryGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressesApi#addressesPrimaryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


AddressesApi *apiInstance = [[AddressesApi alloc] init];

// Gets the 'primary' address
[apiInstance addressesPrimaryGetWithCompletionHandler: 
              ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.AddressesApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesPrimaryGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesPrimaryGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new AddressesApi();

            try
            {
                // Gets the 'primary' address
                inline_response_200_7 result = apiInstance.addressesPrimaryGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AddressesApi.addressesPrimaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\AddressesApi();

try {
    $result = $api_instance->addressesPrimaryGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddressesApi->addressesPrimaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressesApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::AddressesApi->new();

eval { 
    my $result = $api_instance->addressesPrimaryGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AddressesApi->addressesPrimaryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AddressesApi()

try: 
    # Gets the 'primary' address
    api_response = api_instance.addresses_primary_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressesApi->addressesPrimaryGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Balance

balanceAddressGet

Get the balance for a specific address


/balance/{address}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/balance/{address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BalanceApi;

import java.io.File;
import java.util.*;

public class BalanceApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BalanceApi apiInstance = new BalanceApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_12 result = apiInstance.balanceAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balanceAddressGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BalanceApi;

public class BalanceApiExample {

    public static void main(String[] args) {
        BalanceApi apiInstance = new BalanceApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_12 result = apiInstance.balanceAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balanceAddressGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.

BalanceApi *apiInstance = [[BalanceApi alloc] init];

// Get the balance for a specific address
[apiInstance balanceAddressGetWith:address
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.BalanceApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.balanceAddressGet(address, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class balanceAddressGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new BalanceApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

            try
            {
                // Get the balance for a specific address
                inline_response_200_12 result = apiInstance.balanceAddressGet(address);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BalanceApi.balanceAddressGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\BalanceApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try {
    $result = $api_instance->balanceAddressGet($address);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BalanceApi->balanceAddressGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BalanceApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BalanceApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

eval { 
    my $result = $api_instance->balanceAddressGet(address => $address);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BalanceApi->balanceAddressGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BalanceApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try: 
    # Get the balance for a specific address
    api_response = api_instance.balance_address_get(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BalanceApi->balanceAddressGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


balanceGet

Get the balance for the entire wallet container


/balance

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/balance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BalanceApi;

import java.io.File;
import java.util.*;

public class BalanceApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BalanceApi apiInstance = new BalanceApi();
        try {
            inline_response_200_12 result = apiInstance.balanceGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balanceGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BalanceApi;

public class BalanceApiExample {

    public static void main(String[] args) {
        BalanceApi apiInstance = new BalanceApi();
        try {
            inline_response_200_12 result = apiInstance.balanceGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balanceGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


BalanceApi *apiInstance = [[BalanceApi alloc] init];

// Get the balance for the entire wallet container
[apiInstance balanceGetWithCompletionHandler: 
              ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.BalanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.balanceGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class balanceGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new BalanceApi();

            try
            {
                // Get the balance for the entire wallet container
                inline_response_200_12 result = apiInstance.balanceGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BalanceApi.balanceGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\BalanceApi();

try {
    $result = $api_instance->balanceGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BalanceApi->balanceGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BalanceApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BalanceApi->new();

eval { 
    my $result = $api_instance->balanceGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BalanceApi->balanceGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BalanceApi()

try: 
    # Get the balance for the entire wallet container
    api_response = api_instance.balance_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BalanceApi->balanceGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


balancesGet

Get the balance for every address


/balances

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/balances"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BalanceApi;

import java.io.File;
import java.util.*;

public class BalanceApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        BalanceApi apiInstance = new BalanceApi();
        try {
            array[inline_response_200_13] result = apiInstance.balancesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balancesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BalanceApi;

public class BalanceApiExample {

    public static void main(String[] args) {
        BalanceApi apiInstance = new BalanceApi();
        try {
            array[inline_response_200_13] result = apiInstance.balancesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BalanceApi#balancesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


BalanceApi *apiInstance = [[BalanceApi alloc] init];

// Get the balance for every address
[apiInstance balancesGetWithCompletionHandler: 
              ^(array[inline_response_200_13] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.BalanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.balancesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class balancesGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new BalanceApi();

            try
            {
                // Get the balance for every address
                array[inline_response_200_13] result = apiInstance.balancesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BalanceApi.balancesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\BalanceApi();

try {
    $result = $api_instance->balancesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BalanceApi->balancesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BalanceApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BalanceApi->new();

eval { 
    my $result = $api_instance->balancesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BalanceApi->balancesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BalanceApi()

try: 
    # Get the balance for every address
    api_response = api_instance.balances_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BalanceApi->balancesGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Keys

keysAddressGet

Gets the public and private spend key for the given address

Note that this method cannot be used with a view only wallet


/keys/{address}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/keys/{address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KeysApi;

import java.io.File;
import java.util.*;

public class KeysApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        KeysApi apiInstance = new KeysApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_3 result = apiInstance.keysAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysAddressGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KeysApi;

public class KeysApiExample {

    public static void main(String[] args) {
        KeysApi apiInstance = new KeysApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_3 result = apiInstance.keysAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysAddressGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.

KeysApi *apiInstance = [[KeysApi alloc] init];

// Gets the public and private spend key for the given address
[apiInstance keysAddressGetWith:address
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.KeysApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.keysAddressGet(address, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class keysAddressGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new KeysApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

            try
            {
                // Gets the public and private spend key for the given address
                inline_response_200_3 result = apiInstance.keysAddressGet(address);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling KeysApi.keysAddressGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\KeysApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try {
    $result = $api_instance->keysAddressGet($address);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling KeysApi->keysAddressGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::KeysApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::KeysApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

eval { 
    my $result = $api_instance->keysAddressGet(address => $address);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KeysApi->keysAddressGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.KeysApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try: 
    # Gets the public and private spend key for the given address
    api_response = api_instance.keys_address_get(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KeysApi->keysAddressGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


keysGet

Gets the wallet containers shared private view key


/keys

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/keys"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KeysApi;

import java.io.File;
import java.util.*;

public class KeysApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        KeysApi apiInstance = new KeysApi();
        try {
            inline_response_200_2 result = apiInstance.keysGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KeysApi;

public class KeysApiExample {

    public static void main(String[] args) {
        KeysApi apiInstance = new KeysApi();
        try {
            inline_response_200_2 result = apiInstance.keysGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


KeysApi *apiInstance = [[KeysApi alloc] init];

// Gets the wallet containers shared private view key
[apiInstance keysGetWithCompletionHandler: 
              ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.KeysApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.keysGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class keysGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new KeysApi();

            try
            {
                // Gets the wallet containers shared private view key
                inline_response_200_2 result = apiInstance.keysGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling KeysApi.keysGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\KeysApi();

try {
    $result = $api_instance->keysGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling KeysApi->keysGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::KeysApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::KeysApi->new();

eval { 
    my $result = $api_instance->keysGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KeysApi->keysGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.KeysApi()

try: 
    # Gets the wallet containers shared private view key
    api_response = api_instance.keys_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KeysApi->keysGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


keysMnemonicAddressGet

Gets the mnemonic seed for the given address, if possible

Note that this method cannot be used with a view only wallet


/keys/mnemonic/{address}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/keys/mnemonic/{address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KeysApi;

import java.io.File;
import java.util.*;

public class KeysApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        KeysApi apiInstance = new KeysApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_4 result = apiInstance.keysMnemonicAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysMnemonicAddressGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KeysApi;

public class KeysApiExample {

    public static void main(String[] args) {
        KeysApi apiInstance = new KeysApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_4 result = apiInstance.keysMnemonicAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KeysApi#keysMnemonicAddressGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.

KeysApi *apiInstance = [[KeysApi alloc] init];

// Gets the mnemonic seed for the given address, if possible
[apiInstance keysMnemonicAddressGetWith:address
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.KeysApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.keysMnemonicAddressGet(address, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class keysMnemonicAddressGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new KeysApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

            try
            {
                // Gets the mnemonic seed for the given address, if possible
                inline_response_200_4 result = apiInstance.keysMnemonicAddressGet(address);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling KeysApi.keysMnemonicAddressGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\KeysApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try {
    $result = $api_instance->keysMnemonicAddressGet($address);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling KeysApi->keysMnemonicAddressGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::KeysApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::KeysApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

eval { 
    my $result = $api_instance->keysMnemonicAddressGet(address => $address);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KeysApi->keysMnemonicAddressGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.KeysApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try: 
    # Gets the mnemonic seed for the given address, if possible
    api_response = api_instance.keys_mnemonic_address_get(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KeysApi->keysMnemonicAddressGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Misc

addressesValidatePost

Validate an address. If the address is valid, a 200 response code will be returned, else a 400 response code will be returned.


/addresses/validate

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/addresses/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiscApi;

import java.io.File;
import java.util.*;

public class MiscApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MiscApi apiInstance = new MiscApi();
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_1 result = apiInstance.addressesValidatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#addressesValidatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiscApi;

public class MiscApiExample {

    public static void main(String[] args) {
        MiscApi apiInstance = new MiscApi();
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_1 result = apiInstance.addressesValidatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#addressesValidatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_2 *body = ; // 

MiscApi *apiInstance = [[MiscApi alloc] init];

// Validate an address. If the address is valid, a 200 response code will be returned, else a 400 response code will be returned.
[apiInstance addressesValidatePostWith:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.MiscApi()

var body = ; // {Body_2} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addressesValidatePost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addressesValidatePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new MiscApi();
            var body = new Body_2(); // Body_2 | 

            try
            {
                // Validate an address. If the address is valid, a 200 response code will be returned, else a 400 response code will be returned.
                inline_response_200_1 result = apiInstance.addressesValidatePost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiscApi.addressesValidatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\MiscApi();
$body = ; // Body_2 | 

try {
    $result = $api_instance->addressesValidatePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->addressesValidatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MiscApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MiscApi->new();
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

eval { 
    my $result = $api_instance->addressesValidatePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MiscApi->addressesValidatePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiscApi()
body =  # Body_2 | 

try: 
    # Validate an address. If the address is valid, a 200 response code will be returned, else a 400 response code will be returned.
    api_response = api_instance.addresses_validate_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MiscApi->addressesValidatePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.


exportJsonPost

Exports the wallet data to JSON into the filepath given


/export/json

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/export/json"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiscApi;

import java.io.File;
import java.util.*;

public class MiscApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MiscApi apiInstance = new MiscApi();
        Body body = ; // Body | 
        try {
            apiInstance.exportJsonPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#exportJsonPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiscApi;

public class MiscApiExample {

    public static void main(String[] args) {
        MiscApi apiInstance = new MiscApi();
        Body body = ; // Body | 
        try {
            apiInstance.exportJsonPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#exportJsonPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body *body = ; //  (optional)

MiscApi *apiInstance = [[MiscApi alloc] init];

// Exports the wallet data to JSON into the filepath given
[apiInstance exportJsonPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.MiscApi()

var opts = { 
  'body':  // {Body} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exportJsonPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exportJsonPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new MiscApi();
            var body = new Body(); // Body |  (optional) 

            try
            {
                // Exports the wallet data to JSON into the filepath given
                apiInstance.exportJsonPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiscApi.exportJsonPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\MiscApi();
$body = ; // Body | 

try {
    $api_instance->exportJsonPost($body);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->exportJsonPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MiscApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MiscApi->new();
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    $api_instance->exportJsonPost(body => $body);
};
if ($@) {
    warn "Exception when calling MiscApi->exportJsonPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiscApi()
body =  # Body |  (optional)

try: 
    # Exports the wallet data to JSON into the filepath given
    api_instance.export_json_post(body=body)
except ApiException as e:
    print("Exception when calling MiscApi->exportJsonPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


resetPut

Resets and saves the wallet, beginning scanning from height given, if any


/reset

Usage and SDK Samples

curl -X PUT -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/reset"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiscApi;

import java.io.File;
import java.util.*;

public class MiscApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MiscApi apiInstance = new MiscApi();
        Body_1 body = ; // Body_1 | 
        try {
            apiInstance.resetPut(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#resetPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiscApi;

public class MiscApiExample {

    public static void main(String[] args) {
        MiscApi apiInstance = new MiscApi();
        Body_1 body = ; // Body_1 | 
        try {
            apiInstance.resetPut(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#resetPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_1 *body = ; //  (optional)

MiscApi *apiInstance = [[MiscApi alloc] init];

// Resets and saves the wallet, beginning scanning from height given, if any
[apiInstance resetPutWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.MiscApi()

var opts = { 
  'body':  // {Body_1} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.resetPut(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class resetPutExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new MiscApi();
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                // Resets and saves the wallet, beginning scanning from height given, if any
                apiInstance.resetPut(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiscApi.resetPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\MiscApi();
$body = ; // Body_1 | 

try {
    $api_instance->resetPut($body);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->resetPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MiscApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MiscApi->new();
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    $api_instance->resetPut(body => $body);
};
if ($@) {
    warn "Exception when calling MiscApi->resetPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiscApi()
body =  # Body_1 |  (optional)

try: 
    # Resets and saves the wallet, beginning scanning from height given, if any
    api_instance.reset_put(body=body)
except ApiException as e:
    print("Exception when calling MiscApi->resetPut: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


savePut

Saves the wallet state


/save

Usage and SDK Samples

curl -X PUT -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiscApi;

import java.io.File;
import java.util.*;

public class MiscApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MiscApi apiInstance = new MiscApi();
        try {
            apiInstance.savePut();
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#savePut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiscApi;

public class MiscApiExample {

    public static void main(String[] args) {
        MiscApi apiInstance = new MiscApi();
        try {
            apiInstance.savePut();
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#savePut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


MiscApi *apiInstance = [[MiscApi alloc] init];

// Saves the wallet state
[apiInstance savePutWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.MiscApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.savePut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class savePutExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new MiscApi();

            try
            {
                // Saves the wallet state
                apiInstance.savePut();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiscApi.savePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\MiscApi();

try {
    $api_instance->savePut();
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->savePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MiscApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MiscApi->new();

eval { 
    $api_instance->savePut();
};
if ($@) {
    warn "Exception when calling MiscApi->savePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiscApi()

try: 
    # Saves the wallet state
    api_instance.save_put()
except ApiException as e:
    print("Exception when calling MiscApi->savePut: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


statusGet

Get the wallet sync status, peer count, and hashrate


/status

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/status"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MiscApi;

import java.io.File;
import java.util.*;

public class MiscApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        MiscApi apiInstance = new MiscApi();
        try {
            inline_response_200_5 result = apiInstance.statusGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#statusGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MiscApi;

public class MiscApiExample {

    public static void main(String[] args) {
        MiscApi apiInstance = new MiscApi();
        try {
            inline_response_200_5 result = apiInstance.statusGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MiscApi#statusGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


MiscApi *apiInstance = [[MiscApi alloc] init];

// Get the wallet sync status, peer count, and hashrate
[apiInstance statusGetWithCompletionHandler: 
              ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.MiscApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.statusGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class statusGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new MiscApi();

            try
            {
                // Get the wallet sync status, peer count, and hashrate
                inline_response_200_5 result = apiInstance.statusGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MiscApi.statusGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\MiscApi();

try {
    $result = $api_instance->statusGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->statusGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MiscApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MiscApi->new();

eval { 
    my $result = $api_instance->statusGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MiscApi->statusGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MiscApi()

try: 
    # Get the wallet sync status, peer count, and hashrate
    api_response = api_instance.status_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MiscApi->statusGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Node

nodeGet

Gets the node address, port, fee, and fee address


/node

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/node"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NodeApi;

import java.io.File;
import java.util.*;

public class NodeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        NodeApi apiInstance = new NodeApi();
        try {
            inline_response_200 result = apiInstance.nodeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NodeApi#nodeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NodeApi;

public class NodeApiExample {

    public static void main(String[] args) {
        NodeApi apiInstance = new NodeApi();
        try {
            inline_response_200 result = apiInstance.nodeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NodeApi#nodeGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


NodeApi *apiInstance = [[NodeApi alloc] init];

// Gets the node address, port, fee, and fee address
[apiInstance nodeGetWithCompletionHandler: 
              ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.NodeApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.nodeGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class nodeGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new NodeApi();

            try
            {
                // Gets the node address, port, fee, and fee address
                inline_response_200 result = apiInstance.nodeGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NodeApi.nodeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\NodeApi();

try {
    $result = $api_instance->nodeGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NodeApi->nodeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NodeApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::NodeApi->new();

eval { 
    my $result = $api_instance->nodeGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NodeApi->nodeGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.NodeApi()

try: 
    # Gets the node address, port, fee, and fee address
    api_response = api_instance.node_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NodeApi->nodeGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


nodePut

Sets the node address and port


/node

Usage and SDK Samples

curl -X PUT -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/node"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NodeApi;

import java.io.File;
import java.util.*;

public class NodeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        NodeApi apiInstance = new NodeApi();
        Node body = ; // Node | 
        try {
            apiInstance.nodePut(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling NodeApi#nodePut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NodeApi;

public class NodeApiExample {

    public static void main(String[] args) {
        NodeApi apiInstance = new NodeApi();
        Node body = ; // Node | 
        try {
            apiInstance.nodePut(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling NodeApi#nodePut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Node *body = ; // 

NodeApi *apiInstance = [[NodeApi alloc] init];

// Sets the node address and port
[apiInstance nodePutWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.NodeApi()

var body = ; // {Node} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.nodePut(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class nodePutExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new NodeApi();
            var body = new Node(); // Node | 

            try
            {
                // Sets the node address and port
                apiInstance.nodePut(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NodeApi.nodePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\NodeApi();
$body = ; // Node | 

try {
    $api_instance->nodePut($body);
} catch (Exception $e) {
    echo 'Exception when calling NodeApi->nodePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NodeApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::NodeApi->new();
my $body = WWW::SwaggerClient::Object::Node->new(); # Node | 

eval { 
    $api_instance->nodePut(body => $body);
};
if ($@) {
    warn "Exception when calling NodeApi->nodePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.NodeApi()
body =  # Node | 

try: 
    # Sets the node address and port
    api_instance.node_put(body)
except ApiException as e:
    print("Exception when calling NodeApi->nodePut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Transactions

transactionsAddressAddressStartHeightEndHeightGet

Returns transactions for the wallet starting at start height until end height, that belong to the given address

Note that start height must be < end height. Also note that the transfers array will still contain transfers to other addresses, if present.


/transactions/address/{address}/{startHeight}/{endHeight}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/address/{address}/{startHeight}/{endHeight}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        BigDecimal endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightEndHeightGet(address, startHeight, endHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsAddressAddressStartHeightEndHeightGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        BigDecimal endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightEndHeightGet(address, startHeight, endHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsAddressAddressStartHeightEndHeightGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.
BigDecimal *startHeight = 8.14; // The starting block height to use for this operation.
BigDecimal *endHeight = 8.14; // The ending block height to use for this operation.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Returns transactions for the wallet starting at start height until end height, that belong to the given address
[apiInstance transactionsAddressAddressStartHeightEndHeightGetWith:address
    startHeight:startHeight
    endHeight:endHeight
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.

var startHeight = 8.14; // {BigDecimal} The starting block height to use for this operation.

var endHeight = 8.14; // {BigDecimal} The ending block height to use for this operation.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsAddressAddressStartHeightEndHeightGet(addressstartHeight, endHeight, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsAddressAddressStartHeightEndHeightGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
            var startHeight = 8.14;  // BigDecimal | The starting block height to use for this operation.
            var endHeight = 8.14;  // BigDecimal | The ending block height to use for this operation.

            try
            {
                // Returns transactions for the wallet starting at start height until end height, that belong to the given address
                inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightEndHeightGet(address, startHeight, endHeight);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsAddressAddressStartHeightEndHeightGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
$startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
$endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.

try {
    $result = $api_instance->transactionsAddressAddressStartHeightEndHeightGet($address, $startHeight, $endHeight);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsAddressAddressStartHeightEndHeightGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
my $startHeight = 8.14; # BigDecimal | The starting block height to use for this operation.
my $endHeight = 8.14; # BigDecimal | The ending block height to use for this operation.

eval { 
    my $result = $api_instance->transactionsAddressAddressStartHeightEndHeightGet(address => $address, startHeight => $startHeight, endHeight => $endHeight);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsAddressAddressStartHeightEndHeightGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
startHeight = 8.14 # BigDecimal | The starting block height to use for this operation.
endHeight = 8.14 # BigDecimal | The ending block height to use for this operation.

try: 
    # Returns transactions for the wallet starting at start height until end height, that belong to the given address
    api_response = api_instance.transactions_address_address_start_height_end_height_get(address, startHeight, endHeight)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsAddressAddressStartHeightEndHeightGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required
startHeight*
BigDecimal
The starting block height to use for this operation.
Required
endHeight*
BigDecimal
The ending block height to use for this operation.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsAddressAddressStartHeightGet

Returns transactions for the wallet starting at start height for 1,000 blocks, that belong to the given address

Note that the transfers array will still contain transfers to other addresses, if present


/transactions/address/{address}/{startHeight}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/address/{address}/{startHeight}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightGet(address, startHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsAddressAddressStartHeightGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightGet(address, startHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsAddressAddressStartHeightGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.
BigDecimal *startHeight = 8.14; // The starting block height to use for this operation.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Returns transactions for the wallet starting at start height for 1,000 blocks, that belong to the given address
[apiInstance transactionsAddressAddressStartHeightGetWith:address
    startHeight:startHeight
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.

var startHeight = 8.14; // {BigDecimal} The starting block height to use for this operation.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsAddressAddressStartHeightGet(addressstartHeight, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsAddressAddressStartHeightGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
            var startHeight = 8.14;  // BigDecimal | The starting block height to use for this operation.

            try
            {
                // Returns transactions for the wallet starting at start height for 1,000 blocks, that belong to the given address
                inline_response_200_9 result = apiInstance.transactionsAddressAddressStartHeightGet(address, startHeight);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsAddressAddressStartHeightGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
$startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.

try {
    $result = $api_instance->transactionsAddressAddressStartHeightGet($address, $startHeight);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsAddressAddressStartHeightGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
my $startHeight = 8.14; # BigDecimal | The starting block height to use for this operation.

eval { 
    my $result = $api_instance->transactionsAddressAddressStartHeightGet(address => $address, startHeight => $startHeight);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsAddressAddressStartHeightGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.
startHeight = 8.14 # BigDecimal | The starting block height to use for this operation.

try: 
    # Returns transactions for the wallet starting at start height for 1,000 blocks, that belong to the given address
    api_response = api_instance.transactions_address_address_start_height_get(address, startHeight)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsAddressAddressStartHeightGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required
startHeight*
BigDecimal
The starting block height to use for this operation.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsGet

Gets a list of all transactions in the wallet container


/transactions

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_200_9 result = apiInstance.transactionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_200_9 result = apiInstance.transactionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Gets a list of all transactions in the wallet container
[apiInstance transactionsGetWithCompletionHandler: 
              ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();

            try
            {
                // Gets a list of all transactions in the wallet container
                inline_response_200_9 result = apiInstance.transactionsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();

try {
    $result = $api_instance->transactionsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();

eval { 
    my $result = $api_instance->transactionsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()

try: 
    # Gets a list of all transactions in the wallet container
    api_response = api_instance.transactions_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsHashHashGet

Gets details on the given transaction, if found

Note that the transaction must be contained in this wallet, and must not be unconfirmed. E.g, you must get this hash back when calling /transactions


/transactions/hash/{hash}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/hash/{hash}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_10 result = apiInstance.transactionsHashHashGet(hash);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsHashHashGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_10 result = apiInstance.transactionsHashHashGet(hash);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsHashHashGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *hash = hash_example; // The transaction hash to use for this operation. Should be a 64 char hex string.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Gets details on the given transaction, if found
[apiInstance transactionsHashHashGetWith:hash
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var hash = hash_example; // {String} The transaction hash to use for this operation. Should be a 64 char hex string.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsHashHashGet(hash, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsHashHashGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var hash = hash_example;  // String | The transaction hash to use for this operation. Should be a 64 char hex string.

            try
            {
                // Gets details on the given transaction, if found
                inline_response_200_10 result = apiInstance.transactionsHashHashGet(hash);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsHashHashGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.

try {
    $result = $api_instance->transactionsHashHashGet($hash);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsHashHashGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $hash = hash_example; # String | The transaction hash to use for this operation. Should be a 64 char hex string.

eval { 
    my $result = $api_instance->transactionsHashHashGet(hash => $hash);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsHashHashGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
hash = hash_example # String | The transaction hash to use for this operation. Should be a 64 char hex string.

try: 
    # Gets details on the given transaction, if found
    api_response = api_instance.transactions_hash_hash_get(hash)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsHashHashGet: %s\n" % e)

Parameters

Path parameters
Name Description
hash*
String
The transaction hash to use for this operation. Should be a 64 char hex string.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 404 - The transaction hash was not found.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsPrepareAdvancedPost

Creates a transaction but does not relay it to the network

Allows you to review the created transactions fee before deciding whether to commit to paying that fee. Prepared transactions can be sent using `/transactions/send/prepared`, or cancelled with `/transactions/prepared`. Note that every parameters sans destinations is optional.


/transactions/prepare/advanced

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/prepare/advanced"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        SendTransactionAdvanced body = ; // SendTransactionAdvanced | 
        try {
            inline_response_201_3 result = apiInstance.transactionsPrepareAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrepareAdvancedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        SendTransactionAdvanced body = ; // SendTransactionAdvanced | 
        try {
            inline_response_201_3 result = apiInstance.transactionsPrepareAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrepareAdvancedPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

SendTransactionAdvanced *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Creates a transaction but does not relay it to the network
[apiInstance transactionsPrepareAdvancedPostWith:body
              completionHandler: ^(inline_response_201_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {SendTransactionAdvanced} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsPrepareAdvancedPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsPrepareAdvancedPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new SendTransactionAdvanced(); // SendTransactionAdvanced | 

            try
            {
                // Creates a transaction but does not relay it to the network
                inline_response_201_3 result = apiInstance.transactionsPrepareAdvancedPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsPrepareAdvancedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // SendTransactionAdvanced | 

try {
    $result = $api_instance->transactionsPrepareAdvancedPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsPrepareAdvancedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::SendTransactionAdvanced->new(); # SendTransactionAdvanced | 

eval { 
    my $result = $api_instance->transactionsPrepareAdvancedPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsPrepareAdvancedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # SendTransactionAdvanced | 

try: 
    # Creates a transaction but does not relay it to the network
    api_response = api_instance.transactions_prepare_advanced_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsPrepareAdvancedPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsPrepareBasicPost

Creates a transaction but does not relay it to the network

This method will take funds from all subwallets as needed, and will use the primary address as the change address. It also uses a default fee, and default mixin. If this is not acceptable, please use the /advanced call instead. Allows you to review the created transactions fee before deciding whether to commit to paying that fee. Prepared transactions can be sent using `/transactions/send/prepared`, or cancelled with `/transactions/prepared`. Note that every parameters sans destinations is optional.


/transactions/prepare/basic

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/prepare/basic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_201_3 result = apiInstance.transactionsPrepareBasicPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrepareBasicPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_201_3 result = apiInstance.transactionsPrepareBasicPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrepareBasicPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_6 *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Creates a transaction but does not relay it to the network
[apiInstance transactionsPrepareBasicPostWith:body
              completionHandler: ^(inline_response_201_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {Body_6} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsPrepareBasicPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsPrepareBasicPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new Body_6(); // Body_6 | 

            try
            {
                // Creates a transaction but does not relay it to the network
                inline_response_201_3 result = apiInstance.transactionsPrepareBasicPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsPrepareBasicPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // Body_6 | 

try {
    $result = $api_instance->transactionsPrepareBasicPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsPrepareBasicPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::Body_6->new(); # Body_6 | 

eval { 
    my $result = $api_instance->transactionsPrepareBasicPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsPrepareBasicPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # Body_6 | 

try: 
    # Creates a transaction but does not relay it to the network
    api_response = api_instance.transactions_prepare_basic_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsPrepareBasicPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsPreparedHashDelete

Cancels a previously prepared transaction

While it is not mandatory to call this method for a prepared transaction you do not wish to send, it is highly advised, as it will free up RAM.


/transactions/prepared/{hash}

Usage and SDK Samples

curl -X DELETE -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/prepared/{hash}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.
        try {
            apiInstance.transactionsPreparedHashDelete(hash);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPreparedHashDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.
        try {
            apiInstance.transactionsPreparedHashDelete(hash);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPreparedHashDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *hash = hash_example; // The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Cancels a previously prepared transaction
[apiInstance transactionsPreparedHashDeleteWith:hash
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var hash = hash_example; // {String} The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.transactionsPreparedHashDelete(hash, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsPreparedHashDeleteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var hash = hash_example;  // String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.

            try
            {
                // Cancels a previously prepared transaction
                apiInstance.transactionsPreparedHashDelete(hash);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsPreparedHashDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$hash = hash_example; // String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.

try {
    $api_instance->transactionsPreparedHashDelete($hash);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsPreparedHashDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $hash = hash_example; # String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.

eval { 
    $api_instance->transactionsPreparedHashDelete(hash => $hash);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsPreparedHashDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
hash = hash_example # String | The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.

try: 
    # Cancels a previously prepared transaction
    api_instance.transactions_prepared_hash_delete(hash)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsPreparedHashDelete: %s\n" % e)

Parameters

Path parameters
Name Description
hash*
String
The prepared transaction hash to cancel. This hash is returned from the `/transactions/prepared/basic` or `/transactions/prepared/advanced` methods.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 404 - The prepared transaction hash given was not found. Note that prepared transactions are lost upon restarting the wallet process.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsPrivatekeyHashGet

Gets the transaction private key of the given transaction. This can be used to audit a transaction.

The transaction must have been sent by this wallet container. If the wallet container has been reimported, it will not be present.


/transactions/privatekey/{hash}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/privatekey/{hash}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_11 result = apiInstance.transactionsPrivatekeyHashGet(hash);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrivatekeyHashGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.
        try {
            inline_response_200_11 result = apiInstance.transactionsPrivatekeyHashGet(hash);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsPrivatekeyHashGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *hash = hash_example; // The transaction hash to use for this operation. Should be a 64 char hex string.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Gets the transaction private key of the given transaction. This can be used to audit a transaction.
[apiInstance transactionsPrivatekeyHashGetWith:hash
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var hash = hash_example; // {String} The transaction hash to use for this operation. Should be a 64 char hex string.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsPrivatekeyHashGet(hash, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsPrivatekeyHashGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var hash = hash_example;  // String | The transaction hash to use for this operation. Should be a 64 char hex string.

            try
            {
                // Gets the transaction private key of the given transaction. This can be used to audit a transaction.
                inline_response_200_11 result = apiInstance.transactionsPrivatekeyHashGet(hash);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsPrivatekeyHashGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$hash = hash_example; // String | The transaction hash to use for this operation. Should be a 64 char hex string.

try {
    $result = $api_instance->transactionsPrivatekeyHashGet($hash);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsPrivatekeyHashGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $hash = hash_example; # String | The transaction hash to use for this operation. Should be a 64 char hex string.

eval { 
    my $result = $api_instance->transactionsPrivatekeyHashGet(hash => $hash);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsPrivatekeyHashGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
hash = hash_example # String | The transaction hash to use for this operation. Should be a 64 char hex string.

try: 
    # Gets the transaction private key of the given transaction. This can be used to audit a transaction.
    api_response = api_instance.transactions_privatekey_hash_get(hash)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsPrivatekeyHashGet: %s\n" % e)

Parameters

Path parameters
Name Description
hash*
String
The transaction hash to use for this operation. Should be a 64 char hex string.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsSendAdvancedPost

Sends a transaction

Note that every parameters sans destinations is optional.


/transactions/send/advanced

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/send/advanced"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        SendTransactionAdvanced body = ; // SendTransactionAdvanced | 
        try {
            inline_response_201_2 result = apiInstance.transactionsSendAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendAdvancedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        SendTransactionAdvanced body = ; // SendTransactionAdvanced | 
        try {
            inline_response_201_2 result = apiInstance.transactionsSendAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendAdvancedPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

SendTransactionAdvanced *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Sends a transaction
[apiInstance transactionsSendAdvancedPostWith:body
              completionHandler: ^(inline_response_201_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {SendTransactionAdvanced} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsSendAdvancedPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsSendAdvancedPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new SendTransactionAdvanced(); // SendTransactionAdvanced | 

            try
            {
                // Sends a transaction
                inline_response_201_2 result = apiInstance.transactionsSendAdvancedPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsSendAdvancedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // SendTransactionAdvanced | 

try {
    $result = $api_instance->transactionsSendAdvancedPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsSendAdvancedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::SendTransactionAdvanced->new(); # SendTransactionAdvanced | 

eval { 
    my $result = $api_instance->transactionsSendAdvancedPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsSendAdvancedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # SendTransactionAdvanced | 

try: 
    # Sends a transaction
    api_response = api_instance.transactions_send_advanced_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsSendAdvancedPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsSendBasicPost

Sends a transaction

This method will take funds from all subwallets as needed, and will use the primary address as the change address. It also uses a default fee, and default mixin. If this is not acceptable, please use the /advanced call instead.


/transactions/send/basic

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/send/basic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_201_2 result = apiInstance.transactionsSendBasicPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendBasicPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_201_2 result = apiInstance.transactionsSendBasicPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendBasicPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_5 *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Sends a transaction
[apiInstance transactionsSendBasicPostWith:body
              completionHandler: ^(inline_response_201_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {Body_5} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsSendBasicPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsSendBasicPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new Body_5(); // Body_5 | 

            try
            {
                // Sends a transaction
                inline_response_201_2 result = apiInstance.transactionsSendBasicPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsSendBasicPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // Body_5 | 

try {
    $result = $api_instance->transactionsSendBasicPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsSendBasicPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 

eval { 
    my $result = $api_instance->transactionsSendBasicPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsSendBasicPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # Body_5 | 

try: 
    # Sends a transaction
    api_response = api_instance.transactions_send_basic_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsSendBasicPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsSendFusionAdvancedPost

Sends a fusion transaction

Fusion transactions are zero fee, and seek to combine small inputs into larger ones, to allow for larger transactions. Many fusions may be required to fully optimize a wallet. Every parameter is optional.


/transactions/send/fusion/advanced

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/send/fusion/advanced"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_201_5 result = apiInstance.transactionsSendFusionAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendFusionAdvancedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_201_5 result = apiInstance.transactionsSendFusionAdvancedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendFusionAdvancedPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_8 *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Sends a fusion transaction
[apiInstance transactionsSendFusionAdvancedPostWith:body
              completionHandler: ^(inline_response_201_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {Body_8} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsSendFusionAdvancedPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsSendFusionAdvancedPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new Body_8(); // Body_8 | 

            try
            {
                // Sends a fusion transaction
                inline_response_201_5 result = apiInstance.transactionsSendFusionAdvancedPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsSendFusionAdvancedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // Body_8 | 

try {
    $result = $api_instance->transactionsSendFusionAdvancedPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsSendFusionAdvancedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::Body_8->new(); # Body_8 | 

eval { 
    my $result = $api_instance->transactionsSendFusionAdvancedPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsSendFusionAdvancedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # Body_8 | 

try: 
    # Sends a fusion transaction
    api_response = api_instance.transactions_send_fusion_advanced_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsSendFusionAdvancedPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsSendFusionBasicPost

Sends a fusion transaction

Fusion transactions are zero fee, and seek to combine small inputs into larger ones, to allow for larger transactions. Many fusions may be required to fully optimize a wallet.


/transactions/send/fusion/basic

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/send/fusion/basic"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_201_5 result = apiInstance.transactionsSendFusionBasicPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendFusionBasicPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_201_5 result = apiInstance.transactionsSendFusionBasicPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendFusionBasicPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Sends a fusion transaction
[apiInstance transactionsSendFusionBasicPostWithCompletionHandler: 
              ^(inline_response_201_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsSendFusionBasicPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsSendFusionBasicPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();

            try
            {
                // Sends a fusion transaction
                inline_response_201_5 result = apiInstance.transactionsSendFusionBasicPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsSendFusionBasicPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();

try {
    $result = $api_instance->transactionsSendFusionBasicPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsSendFusionBasicPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();

eval { 
    my $result = $api_instance->transactionsSendFusionBasicPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsSendFusionBasicPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()

try: 
    # Sends a fusion transaction
    api_response = api_instance.transactions_send_fusion_basic_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsSendFusionBasicPost: %s\n" % e)

Parameters

Responses

Status: 201 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsSendPreparedPost

Sends a previously prepared transaction

Submits a transaction that was previously prepared with `/transactions/prepare/basic` or `/transactions/prepare/advanced` to the network.


/transactions/send/prepared

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/send/prepared"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_201_4 result = apiInstance.transactionsSendPreparedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendPreparedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_201_4 result = apiInstance.transactionsSendPreparedPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsSendPreparedPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Body_7 *body = ; // 

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Sends a previously prepared transaction
[apiInstance transactionsSendPreparedPostWith:body
              completionHandler: ^(inline_response_201_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var body = ; // {Body_7} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsSendPreparedPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsSendPreparedPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var body = new Body_7(); // Body_7 | 

            try
            {
                // Sends a previously prepared transaction
                inline_response_201_4 result = apiInstance.transactionsSendPreparedPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsSendPreparedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$body = ; // Body_7 | 

try {
    $result = $api_instance->transactionsSendPreparedPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsSendPreparedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::Body_7->new(); # Body_7 | 

eval { 
    my $result = $api_instance->transactionsSendPreparedPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsSendPreparedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
body =  # Body_7 | 

try: 
    # Sends a previously prepared transaction
    api_response = api_instance.transactions_send_prepared_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsSendPreparedPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsStartHeightEndHeightGet

Returns transactions for the wallet starting at start height until end height

Note that start height must be < end height


/transactions/{startHeight}/{endHeight}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/{startHeight}/{endHeight}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        BigDecimal endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsStartHeightEndHeightGet(startHeight, endHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsStartHeightEndHeightGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        BigDecimal endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsStartHeightEndHeightGet(startHeight, endHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsStartHeightEndHeightGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

BigDecimal *startHeight = 8.14; // The starting block height to use for this operation.
BigDecimal *endHeight = 8.14; // The ending block height to use for this operation.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Returns transactions for the wallet starting at start height until end height
[apiInstance transactionsStartHeightEndHeightGetWith:startHeight
    endHeight:endHeight
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var startHeight = 8.14; // {BigDecimal} The starting block height to use for this operation.

var endHeight = 8.14; // {BigDecimal} The ending block height to use for this operation.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsStartHeightEndHeightGet(startHeight, endHeight, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsStartHeightEndHeightGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var startHeight = 8.14;  // BigDecimal | The starting block height to use for this operation.
            var endHeight = 8.14;  // BigDecimal | The ending block height to use for this operation.

            try
            {
                // Returns transactions for the wallet starting at start height until end height
                inline_response_200_9 result = apiInstance.transactionsStartHeightEndHeightGet(startHeight, endHeight);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsStartHeightEndHeightGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
$endHeight = 8.14; // BigDecimal | The ending block height to use for this operation.

try {
    $result = $api_instance->transactionsStartHeightEndHeightGet($startHeight, $endHeight);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsStartHeightEndHeightGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $startHeight = 8.14; # BigDecimal | The starting block height to use for this operation.
my $endHeight = 8.14; # BigDecimal | The ending block height to use for this operation.

eval { 
    my $result = $api_instance->transactionsStartHeightEndHeightGet(startHeight => $startHeight, endHeight => $endHeight);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsStartHeightEndHeightGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
startHeight = 8.14 # BigDecimal | The starting block height to use for this operation.
endHeight = 8.14 # BigDecimal | The ending block height to use for this operation.

try: 
    # Returns transactions for the wallet starting at start height until end height
    api_response = api_instance.transactions_start_height_end_height_get(startHeight, endHeight)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsStartHeightEndHeightGet: %s\n" % e)

Parameters

Path parameters
Name Description
startHeight*
BigDecimal
The starting block height to use for this operation.
Required
endHeight*
BigDecimal
The ending block height to use for this operation.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsStartHeightGet

Returns transactions for the wallet starting at start height for 1,000 blocks


/transactions/{startHeight}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/{startHeight}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsStartHeightGet(startHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsStartHeightGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        BigDecimal startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.
        try {
            inline_response_200_9 result = apiInstance.transactionsStartHeightGet(startHeight);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsStartHeightGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

BigDecimal *startHeight = 8.14; // The starting block height to use for this operation.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Returns transactions for the wallet starting at start height for 1,000 blocks
[apiInstance transactionsStartHeightGetWith:startHeight
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var startHeight = 8.14; // {BigDecimal} The starting block height to use for this operation.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsStartHeightGet(startHeight, , callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsStartHeightGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var startHeight = 8.14;  // BigDecimal | The starting block height to use for this operation.

            try
            {
                // Returns transactions for the wallet starting at start height for 1,000 blocks
                inline_response_200_9 result = apiInstance.transactionsStartHeightGet(startHeight);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsStartHeightGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$startHeight = 8.14; // BigDecimal | The starting block height to use for this operation.

try {
    $result = $api_instance->transactionsStartHeightGet($startHeight);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsStartHeightGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $startHeight = 8.14; # BigDecimal | The starting block height to use for this operation.

eval { 
    my $result = $api_instance->transactionsStartHeightGet(startHeight => $startHeight);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsStartHeightGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
startHeight = 8.14 # BigDecimal | The starting block height to use for this operation.

try: 
    # Returns transactions for the wallet starting at start height for 1,000 blocks
    api_response = api_instance.transactions_start_height_get(startHeight)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsStartHeightGet: %s\n" % e)

Parameters

Path parameters
Name Description
startHeight*
BigDecimal
The starting block height to use for this operation.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsUnconfirmedAddressGet

Gets a list of unconfirmed, outgoing transactions, for the given address

Note that this DOES NOT include incoming transactions in the pool. This only applies to transactions that have been sent by this wallet file, and have not been added to a block yet.


/transactions/unconfirmed/{address}

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/unconfirmed/{address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_9 result = apiInstance.transactionsUnconfirmedAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsUnconfirmedAddressGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.
        try {
            inline_response_200_9 result = apiInstance.transactionsUnconfirmedAddressGet(address);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsUnconfirmedAddressGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

String *address = address_example; // The address to use for this operation. Should be a valid, 99 character TRTL address.

TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Gets a list of unconfirmed, outgoing transactions, for the given address
[apiInstance transactionsUnconfirmedAddressGetWith:address
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var address = address_example; // {String} The address to use for this operation. Should be a valid, 99 character TRTL address.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsUnconfirmedAddressGet(address, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsUnconfirmedAddressGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();
            var address = address_example;  // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

            try
            {
                // Gets a list of unconfirmed, outgoing transactions, for the given address
                inline_response_200_9 result = apiInstance.transactionsUnconfirmedAddressGet(address);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsUnconfirmedAddressGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();
$address = address_example; // String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try {
    $result = $api_instance->transactionsUnconfirmedAddressGet($address);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsUnconfirmedAddressGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $address = address_example; # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

eval { 
    my $result = $api_instance->transactionsUnconfirmedAddressGet(address => $address);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsUnconfirmedAddressGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
address = address_example # String | The address to use for this operation. Should be a valid, 99 character TRTL address.

try: 
    # Gets a list of unconfirmed, outgoing transactions, for the given address
    api_response = api_instance.transactions_unconfirmed_address_get(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsUnconfirmedAddressGet: %s\n" % e)

Parameters

Path parameters
Name Description
address*
String
The address to use for this operation. Should be a valid, 99 character TRTL address.
Required

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


transactionsUnconfirmedGet

Gets a list of all unconfirmed, outgoing transactions in the wallet container

Note that this DOES NOT include incoming transactions in the pool. This only applies to transactions that have been sent by this wallet file, and have not been added to a block yet.


/transactions/unconfirmed

Usage and SDK Samples

curl -X GET -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/transactions/unconfirmed"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

import java.io.File;
import java.util.*;

public class TransactionsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_200_9 result = apiInstance.transactionsUnconfirmedGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsUnconfirmedGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        try {
            inline_response_200_9 result = apiInstance.transactionsUnconfirmedGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transactionsUnconfirmedGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


TransactionsApi *apiInstance = [[TransactionsApi alloc] init];

// Gets a list of all unconfirmed, outgoing transactions in the wallet container
[apiInstance transactionsUnconfirmedGetWithCompletionHandler: 
              ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.TransactionsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transactionsUnconfirmedGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transactionsUnconfirmedGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new TransactionsApi();

            try
            {
                // Gets a list of all unconfirmed, outgoing transactions in the wallet container
                inline_response_200_9 result = apiInstance.transactionsUnconfirmedGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transactionsUnconfirmedGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\TransactionsApi();

try {
    $result = $api_instance->transactionsUnconfirmedGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transactionsUnconfirmedGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();

eval { 
    my $result = $api_instance->transactionsUnconfirmedGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transactionsUnconfirmedGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TransactionsApi()

try: 
    # Gets a list of all unconfirmed, outgoing transactions in the wallet container
    api_response = api_instance.transactions_unconfirmed_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transactionsUnconfirmedGet: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


Wallet

walletCreatePost

Creates a new wallet


/wallet/create

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet/create"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        Wallet body = ; // Wallet | 
        try {
            apiInstance.walletCreatePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletCreatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        Wallet body = ; // Wallet | 
        try {
            apiInstance.walletCreatePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletCreatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Wallet *body = ; // 

WalletApi *apiInstance = [[WalletApi alloc] init];

// Creates a new wallet
[apiInstance walletCreatePostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var body = ; // {Wallet} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletCreatePost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletCreatePostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();
            var body = new Wallet(); // Wallet | 

            try
            {
                // Creates a new wallet
                apiInstance.walletCreatePost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletCreatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();
$body = ; // Wallet | 

try {
    $api_instance->walletCreatePost($body);
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();
my $body = WWW::SwaggerClient::Object::Wallet->new(); # Wallet | 

eval { 
    $api_instance->walletCreatePost(body => $body);
};
if ($@) {
    warn "Exception when calling WalletApi->walletCreatePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()
body =  # Wallet | 

try: 
    # Creates a new wallet
    api_instance.wallet_create_post(body)
except ApiException as e:
    print("Exception when calling WalletApi->walletCreatePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - A wallet is already open. Call DELETE on /wallet first, to close it.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


walletDelete

Closes and saves the opened wallet


/wallet

Usage and SDK Samples

curl -X DELETE -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        try {
            apiInstance.walletDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        try {
            apiInstance.walletDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];


WalletApi *apiInstance = [[WalletApi alloc] init];

// Closes and saves the opened wallet
[apiInstance walletDeleteWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletDeleteExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();

            try
            {
                // Closes and saves the opened wallet
                apiInstance.walletDelete();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();

try {
    $api_instance->walletDelete();
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();

eval { 
    $api_instance->walletDelete();
};
if ($@) {
    warn "Exception when calling WalletApi->walletDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()

try: 
    # Closes and saves the opened wallet
    api_instance.wallet_delete()
except ApiException as e:
    print("Exception when calling WalletApi->walletDelete: %s\n" % e)

Parameters

Responses

Status: 200 - The operation completed successfully.

Status: 401 - API key is missing or invalid.

Status: 403 - This operation requires a wallet to be open, and one has not been opened.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


walletImportKeyPost

Imports a wallet with a private spend and view key


/wallet/import/key

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet/import/key"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        WalletKeyImport body = ; // WalletKeyImport | 
        try {
            apiInstance.walletImportKeyPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportKeyPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        WalletKeyImport body = ; // WalletKeyImport | 
        try {
            apiInstance.walletImportKeyPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportKeyPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

WalletKeyImport *body = ; // 

WalletApi *apiInstance = [[WalletApi alloc] init];

// Imports a wallet with a private spend and view key
[apiInstance walletImportKeyPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var body = ; // {WalletKeyImport} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletImportKeyPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletImportKeyPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();
            var body = new WalletKeyImport(); // WalletKeyImport | 

            try
            {
                // Imports a wallet with a private spend and view key
                apiInstance.walletImportKeyPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletImportKeyPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();
$body = ; // WalletKeyImport | 

try {
    $api_instance->walletImportKeyPost($body);
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletImportKeyPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();
my $body = WWW::SwaggerClient::Object::WalletKeyImport->new(); # WalletKeyImport | 

eval { 
    $api_instance->walletImportKeyPost(body => $body);
};
if ($@) {
    warn "Exception when calling WalletApi->walletImportKeyPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()
body =  # WalletKeyImport | 

try: 
    # Imports a wallet with a private spend and view key
    api_instance.wallet_import_key_post(body)
except ApiException as e:
    print("Exception when calling WalletApi->walletImportKeyPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - A wallet is already open. Call DELETE on /wallet first, to close it.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


walletImportSeedPost

Imports a wallet using a mnemonic seed


/wallet/import/seed

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet/import/seed"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        WalletSeedImport body = ; // WalletSeedImport | 
        try {
            apiInstance.walletImportSeedPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportSeedPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        WalletSeedImport body = ; // WalletSeedImport | 
        try {
            apiInstance.walletImportSeedPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportSeedPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

WalletSeedImport *body = ; // 

WalletApi *apiInstance = [[WalletApi alloc] init];

// Imports a wallet using a mnemonic seed
[apiInstance walletImportSeedPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var body = ; // {WalletSeedImport} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletImportSeedPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletImportSeedPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();
            var body = new WalletSeedImport(); // WalletSeedImport | 

            try
            {
                // Imports a wallet using a mnemonic seed
                apiInstance.walletImportSeedPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletImportSeedPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();
$body = ; // WalletSeedImport | 

try {
    $api_instance->walletImportSeedPost($body);
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletImportSeedPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();
my $body = WWW::SwaggerClient::Object::WalletSeedImport->new(); # WalletSeedImport | 

eval { 
    $api_instance->walletImportSeedPost(body => $body);
};
if ($@) {
    warn "Exception when calling WalletApi->walletImportSeedPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()
body =  # WalletSeedImport | 

try: 
    # Imports a wallet using a mnemonic seed
    api_instance.wallet_import_seed_post(body)
except ApiException as e:
    print("Exception when calling WalletApi->walletImportSeedPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - A wallet is already open. Call DELETE on /wallet first, to close it.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


walletImportViewPost

Imports a view only wallet with a private view key and public address

Note that view only wallets can only see incoming transactions, so balance may be inflated, and they cannot send transactions.


/wallet/import/view

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet/import/view"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        WalletViewImport body = ; // WalletViewImport | 
        try {
            apiInstance.walletImportViewPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportViewPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        WalletViewImport body = ; // WalletViewImport | 
        try {
            apiInstance.walletImportViewPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletImportViewPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

WalletViewImport *body = ; // 

WalletApi *apiInstance = [[WalletApi alloc] init];

// Imports a view only wallet with a private view key and public address
[apiInstance walletImportViewPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var body = ; // {WalletViewImport} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletImportViewPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletImportViewPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();
            var body = new WalletViewImport(); // WalletViewImport | 

            try
            {
                // Imports a view only wallet with a private view key and public address
                apiInstance.walletImportViewPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletImportViewPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();
$body = ; // WalletViewImport | 

try {
    $api_instance->walletImportViewPost($body);
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletImportViewPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();
my $body = WWW::SwaggerClient::Object::WalletViewImport->new(); # WalletViewImport | 

eval { 
    $api_instance->walletImportViewPost(body => $body);
};
if ($@) {
    warn "Exception when calling WalletApi->walletImportViewPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()
body =  # WalletViewImport | 

try: 
    # Imports a view only wallet with a private view key and public address
    api_instance.wallet_import_view_post(body)
except ApiException as e:
    print("Exception when calling WalletApi->walletImportViewPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - The operation completed successfully.

Status: 400 - A parse error occured, or an error occured processing your request.

Status: 401 - API key is missing or invalid.

Status: 403 - A wallet is already open. Call DELETE on /wallet first, to close it.

Status: 500 - An exception was thrown whilst processing the request. See the console for logs.


walletOpenPost

Opens an already existing wallet


/wallet/open

Usage and SDK Samples

curl -X POST -H "X-API-KEY: [[apiKey]]" "http://127.0.0.1:8070/wallet/open"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WalletApi;

import java.io.File;
import java.util.*;

public class WalletApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        WalletApi apiInstance = new WalletApi();
        Wallet body = ; // Wallet | 
        try {
            apiInstance.walletOpenPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletOpenPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WalletApi;

public class WalletApiExample {

    public static void main(String[] args) {
        WalletApi apiInstance = new WalletApi();
        Wallet body = ; // Wallet | 
        try {
            apiInstance.walletOpenPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletApi#walletOpenPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-API-KEY"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-API-KEY"];

Wallet *body = ; // 

WalletApi *apiInstance = [[WalletApi alloc] init];

// Opens an already existing wallet
[apiInstance walletOpenPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletApi = require('wallet_api');
var defaultClient = WalletApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['X-API-KEY'] = "Token"

var api = new WalletApi.WalletApi()

var body = ; // {Wallet} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.walletOpenPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class walletOpenPostExample
    {
        public void main()
        {
            
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("X-API-KEY", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-API-KEY", "Bearer");

            var apiInstance = new WalletApi();
            var body = new Wallet(); // Wallet | 

            try
            {
                // Opens an already existing wallet
                apiInstance.walletOpenPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WalletApi.walletOpenPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');

$api_instance = new Swagger\Client\Api\WalletApi();
$body = ; // Wallet | 

try {
    $api_instance->walletOpenPost($body);
} catch (Exception $e) {
    echo 'Exception when calling WalletApi->walletOpenPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WalletApi;

# Configure API key authorization: api_key
$WWW::SwaggerClient::Configuration::api_key->{'X-API-KEY'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-API-KEY'} = "Bearer";

my $api_instance = WWW::SwaggerClient::WalletApi->new();
my $body = WWW::SwaggerClient::Object::Wallet->new(); # Wallet | 

eval { 
    $api_instance->walletOpenPost(body => $body);
};
if ($@) {
    warn "Exception when calling WalletApi->walletOpenPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
swagger_client.configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.WalletApi()
body =  # Wallet | 

try: 
    # Opens an already existing wallet
    api_instance.wallet_open_post(body)
except ApiException as e:
    print("Exception when calling WalletApi->walletOpenPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses