Jaa


Xooa Blockchain Smart Contract (Preview)

Xooa makes it easy to use blockchain by eliminating common barriers. A blockchain platform as a service (PaaS) provides an enterprise blockchain. The connector provides an immutable ledger and a private blockchain infrastructure. You control who can view and participate in the ledger, and you can shift your data to your own network at any time.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Email support@xooa.com
Connector Metadata
Publisher Xooa Inc
Website https://xooa.com/blockchain/
Privacy policy https://xooa.com/XooaPrivacyPolicy.htm

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Invoke a function

Invoke a given custom smart contract function to write to the ledger.Such operations create transactions in the ledger.

Perform a query function

Query the ledger using a given smart contract function. The query end-point is used to perform read operations. Such operations do not create transactions in the ledger.

Xooa DEL [DEPRECATED]

This action is used to perform a 'del' operation on the Xooa App. This operation invokes the del function in the Smart Contract to delete the key from the Blockchain. This operation generates a transaction in the blockchain and stores it in the ledger.

Xooa GET [DEPRECATED]

This action is used to perform a 'get' operation on the Xooa App. This operation invokes the get function in the Smart Contract to give the latest state from the Blockchain.

Xooa SET [DEPRECATED]

This action is used to perform a 'set' operation on the Xooa App. This operation invokes the set function in the Smart Contract to store the key value pairs in the Blockchain. This operation generates a transaction in the blockchain and stores it in the ledger.

Invoke a function

Invoke a given custom smart contract function to write to the ledger.Such operations create transactions in the ledger.

Parameters

Name Key Required Type Description
Function name
fcn True string

The name of the function.

Asynchronous call indicator (Boolean)
async boolean

Specifies whether to perform the call asynchronously (default is false).

Timeout (synchronous calls only)
timeout integer

Timeout waiting on a response from a synchronous call (async false). A 202 Pending Transaction Response with the URL to retrieve appears if the timeout value is exceeded. Default timeout value is 5000ms.

body
body True array of string

Returns

response
string

Perform a query function

Query the ledger using a given smart contract function. The query end-point is used to perform read operations. Such operations do not create transactions in the ledger.

Parameters

Name Key Required Type Description
Function name
fcn True string

The name of the function.

Asynchronous call indicator (Boolean)
async boolean

Specifies whether to perform the call asynchronously (default is false).

Timeout (synchronous calls only)
timeout integer

Timeout waiting on a response from a synchronous call (async false). A 202 Pending Transaction Response with the URL to retrieve appears if the timeout value is exceeded. Default timeout value is 5000ms.

body
body True array of string

Returns

response
string

Xooa DEL [DEPRECATED]

This action is used to perform a 'del' operation on the Xooa App. This operation invokes the del function in the Smart Contract to delete the key from the Blockchain. This operation generates a transaction in the blockchain and stores it in the ledger.

Parameters

Name Key Required Type Description
Async call indicator
async boolean

This parameter is used to define if the call to Xooa is to be made in synchronous or asynchronous mode. Its default value is false, i.e. synchronous mode.

Amount of time to wait before turning a synchronous call to asynchronous.
timeout integer

If a call to Xooa is made in synchronous mode then the call waits for the time passed in timeout to receive a response. If a response is not generated within the given timeout a pending response is generated. Default timeout value is 3000ms.

body
body array of string

Returns

response
string

Xooa GET [DEPRECATED]

This action is used to perform a 'get' operation on the Xooa App. This operation invokes the get function in the Smart Contract to give the latest state from the Blockchain.

Parameters

Name Key Required Type Description
Async call indicator
async boolean

This parameter is used to define if the call to Xooa is to be made in synchronous or asynchronous mode. Its default value is false, i.e. synchronous mode.

Amount of time to wait before turning a synchronous call to asynchronous.
timeout integer

If a call to Xooa is made in synchronous mode then the call waits for the time passed in timeout to receive a response. If a response is not generated within the given timeout a pending response is generated. Default timeout value is 3000ms.

body
body array of string

Returns

response
string

Xooa SET [DEPRECATED]

This action is used to perform a 'set' operation on the Xooa App. This operation invokes the set function in the Smart Contract to store the key value pairs in the Blockchain. This operation generates a transaction in the blockchain and stores it in the ledger.

Parameters

Name Key Required Type Description
Async call indicator
async boolean

This parameter is used to define if the call to Xooa is to be made in synchronous or asynchronous mode. Its default value is false, i.e. synchronous mode.

Amount of time to wait before turning a synchronous call to asynchronous.
timeout integer

If a call to Xooa is made in synchronous mode then the call waits for the time passed in timeout to receive a response. If a response is not generated within the given timeout a pending response is generated. Default timeout value is 3000ms.

body
body array of string

Returns

response
string

Definitions

string

This is the basic data type 'string'.