Operations
Use the blockchain as your trusted database.
Last updated
Use the blockchain as your trusted database.
Last updated
POST
https://api.bws.ninja/v1/call
Use this operation to save data you can change to the blockchain.
Name | Type | Description |
---|---|---|
This operation is asynchronous.
Once executed, check the results using fetch API and the providedjobId.
POST
https://api.bws.ninja/v1/call
Use this operation to retrieve data previously saved using insertString.
This operation is asynchronous.
Once executed, check the results using fetch API and the providedjobId.
POST
https://api.bws.ninja/v1/call
Use this operation to save data you can change to the blockchain.
This operation is asynchronous.
Once executed, check the results using fetch API and the providedjobId.
POST
https://api.bws.ninja/v1/call
Use this operation to retrieve data previously saved using insertBytes32.
This operation is asynchronous.
Once executed, check the results using fetch API and the providedjobId.
Parameter | Type | Max. Size | Desciption |
---|---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Max. Size | Desciption |
---|---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Max. Size | Desciption |
---|---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Max. Size | Desciption |
---|---|---|---|
solution*
string
BWS.Blockchain.Hash
version*
number
1
network*
string
check networks
operation*
string
insertString
parameters*
JSON
check Method Parameters
key
string
32 characters
The hash key to link data to (you can use that key to retrieve the data using selectString).
value
string
(check network)
The value to save to the selected blockchain (the size limit is defined by the blockchain network capability).
solution*
string
BWS.Blockchain.Hash
version*
number
1
network*
string
check networks
operation*
string
selectString
parameters*
JSON
check Method Parameters
key
string
32 characters
The hash key you previously used to save data using insertString.
solution*
string
BWS.Blockchain.Hash
version*
number
1
network*
string
check networks
operation*
string
insertBytes32
parameters*
JSON
check Method Parameters
key
string
32 characters
The hash key to link data to (you can use that key to retrieve the data using selectBytes32).
value
string
32 characters
The value to save to the selected blockchain. Up to 32 bytes long.
solution*
string
BWS.Blockchain.Hash
version*
number
1
network*
string
check networks
operation*
string
selectBytes32
parameters*
JSON
check Method Parameters
key
string
32 characters
The hash key you previously used to save data using insertBytes32.