Admin

Admin endpints to handle the supported Wrapper APIs

Register a new Wrapper API

This method allows you to enable an API for a currency in the specified network. A currency can be supported in multiple networks

post

This method allows you to enable an API for a currency in the specified network. A currency can be supported in multiple networks. Configuration properties required (config parameter) to enable the currency API in a specific network are different for each API. Default values are used if custom config is not used.

Body
coinstringRequired

Currency for which you want to enable an API in the connector.

Example: btc
networkstringRequired

Network on which you want to enable the specified currency.

Example: testnet
configone ofRequired
or
or
or
Responses
chevron-right
200

Successful response

application/json
post
/addcoin
200

Successful response

Updating a Wrapper API

This method allows you to update the configuration properties that a currency API is using for a specific network.

post

This method allows you to update the configuration properties that a currency API is using for a specific network. Configuration properties required (config parameter) to update the currency API in a specific network are different for each API.

Body
coinstringRequired

Currency for which you want to update the configuration parameters

Example: btc
networkstringRequired

Network on which you want to enable the specified currency

Example: testnet
configone ofRequired
or
or
or
Responses
chevron-right
200

Successful response

application/json
post
/updatecoin
200

Successful response

Get information of some Wrapper API

This method allows you to get the configuration properties that a currency API is using for a specific network.

post

This method allows you to get the configuration properties that a currency API is using for a specific network. Configuration properties (config parameter) returned are different for each API.

Body
coinstringRequired

Currency from which the configuration parameters are to be returned.

Example: btc
networkstringRequired

Network of the currency from which the configuration parameters are to be returned.

Example: testnet
Responses
chevron-right
200

Successful response

application/json
post
/getcoin
200

Successful response

Unregister a Wrapper API

This method allows you to disable an API for a currency in the specified network.

post

This method allows you to disable an API for a currency in the specified network.

Body
coinstringRequired

Currency for which you want to disable an API in the connector

Example: btc
networkstringRequired

Network on which you want to disable the specified currency

Example: testnet
Responses
chevron-right
200

Successful response

application/json
post
/removecoin
200

Successful response

Last updated