BCware Platform API Introduction
Platform CeFi APIs
AddAccount
post /platform/api/v1/bcflow/offchain/internal/CeFi/AddAccount
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.Account
400
GetAccount
post /platform/api/v1/bcflow/offchain/internal/CeFi/GetAccount
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.Account
400
OffChainPostgres
post /platform/api/v1/bcflow/offchain/internal/CeFi/OffChainPostgres
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
AddKyc
post /platform/api/v1/bcflow/offchain/internal/CeFi/AddKyc
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.Kyc
400
ApproveKyc
post /platform/api/v1/bcflow/offchain/internal/CeFi/ApproveKyc
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.Kyc
400
GetKyc
post /platform/api/v1/bcflow/offchain/internal/CeFi/GetKyc
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.Kyc
400
approvepurchaserequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/approvepurchaserequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.AmPurchase
400
getpurchaserequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/getpurchaserequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.AmPurchase
400
raisepurchaserequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/raisepurchaserequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.AmPurchase
400
AddStakeMeta
post /platform/api/v1/bcflow/offchain/internal/CeFi/AddStakeMeta
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeMeta
400
GetRedeemedStakeRequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/GetRedeemedStakeRequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeAssetPortfolio
400
GetStakeMeta
post /platform/api/v1/bcflow/offchain/internal/CeFi/GetStakeMeta
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeMeta
400
GetStakeRequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/GetStakeRequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeAssetPortfolio
400
raisestakerequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/raisestakerequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeAssetPortfolio
400
redeemstakerequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/redeemstakerequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeAssetPortfolio
400
approvestakerequest
post /platform/api/v1/bcflow/offchain/internal/CeFi/approvestakerequest
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.StakeAssetPortfolio
400
KafkaPublisher
post /platform/bcflow/offchain/internal/CeFi/KafkaPublisher
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
KafkaSubscriber
post /platform/bcflow/offchain/internal/CeFi/KafkaSubscriber
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
ksql
post /platform/bcflow/offchain/internal/CeFi/ksql
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.GetKsqlInput
400
KsqlSelect
post /platform/bcflow/offchain/internal/CeFi/KsqlSelect
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.GetKsqlInput
400
NatsPublisher
post /platform/bcflow/offchain/internal/CeFi/NatsPublisher
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
NatsSubscriber
post /platform/bcflow/offchain/internal/CeFi/NatsSubscriber
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
NgsPublisher
post /platform/bcflow/offchain/internal/CeFi/NgsPublisher
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
NgsSubscriber
post /platform/bcflow/offchain/internal/CeFi/NgsSubscriber
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
PlatformDeFiEthereumAPIs
deploycontract
post /platform/api/v1/runtime/onchain/external/DeFi/deploycontract
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{
"bytes": [],
"empty": true
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
ok String
400
EthBlock
post /platform/flow/onchain/external/DeFi/EthBlock
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthClient
post /platform/flow/onchain/external/DeFi/EthClient
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthExecute
post /platform/flow/onchain/external/DeFi/EthExecute
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.GetEthExecuteInput
400
EthFeeMarket
post /platform/flow/onchain/external/DeFi/EthFeeMarket
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.GetEthFeeMarketInput
400
EthFilter
post /platform/flow/onchain/external/DeFi/EthFilter
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthMining
post /platform/flow/onchain/external/DeFi/EthMining
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthSign
post /platform/flow/onchain/external/DeFi/EthSign
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthState
post /platform/flow/onchain/external/DeFi/EthState
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthSubmit
post /platform/flow/onchain/external/DeFi/EthSubmit
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
EthTransaction
post /platform/flow/onchain/external/DeFi/EthTransaction
blockHash
, blockNumber
, and transactionIndex
are null
when the transaction is pendingConsumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{"empty": false}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
desc models.GetEthTransactionInput
400
startstaking
post /platform/api/v1/bcflow/onchain/external/DeFi/startstaking
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{
"bytes": [],
"empty": true
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
ok String
400
withdrawstake
post /platform/api/v1/bcflow/onchain/external/DeFi/withdrawstake
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Return type
Example data
{
"bytes": [],
"empty": true
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
ok String
400
PlatformDeFiOnflowDapperAPIs
generateKey
post /platform/api/v1/runtime/onchain/external/DeFi/account/generateKey
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
createAccount
post /platform/api/v1/runtime/onchain/external/DeFi/account/createAccount
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
setupAccount
post /platform/api/v1/runtime/onchain/external/DeFi/account/setupAccount
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getBalance
post /platform/api/v1/bcflow/onchain/external/DeFi/ft/getBalance
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getSupply
post /platform/api/v1/bcflow/onchain/external/DeFi/ft/getSupply
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getCollectionId
post /platform/api/v1/bcflow/onchain/external/DeFi/nft/getCollectionId
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getCollectionLength
post /platform/api/v1/bcflow/onchain/external/DeFi/nft/getCollectionLength
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getNFTItemByTypeID
post /platform/api/v1/bcflow/onchain/external/DeFi/nft/getNFTItemByTypeID
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
buyMarketItem
post /platform/api/v1/bcflow/onchain/external/DeFi/marketplace/buyMarketItem
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
sellMarketItem
post /platform/api/v1/bcflow/onchain/external/DeFi/marketplace/sellMarketItem
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
RemoveMarketItem
post /platform/api/v1/bcflow/onchain/external/DeFi/marketplace/RemoveMarketItem
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
mintFT
post /platform/api/v1/bcflow/onchain/external/DeFi/ft/mintFT
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
transferFT
post /platform/api/v1/bcflow/onchain/external/DeFi/ft/transferFT
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
mintNFT
post /platform/api/v1/bcflow/onchain/external/DeFi/nft/mintNFT
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
transferNFT
post /platform/api/v1/bcflow/onchain/external/DeFi/nft/transferNFT
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
PlatformDeFiParityAPIs
createnetwork
post /platform/api/v1/runtimes/onchain/internal/DeFi/createnetwork
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
deploynetwork
post /platform/api/v1/runtimes/onchain/internal/DeFi/deploynetwork
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
generatekey
post /platform/api/v1/runtimes/onchain/internal/DeFi/generatekey
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
insertkey
post /platform/api/v1/runtimes/onchain/internal/DeFi/insertkey
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
addnode
post /platform/api/v1/runtimes/onchain/internal/DeFi/addnode
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
startnode
post /platform/api/v1/runtimes/onchain/internal/DeFi/startnode
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
PlatformDeFiParityBalancePalletAPIs
setbalance
post /platform/api/v1/bcflow/onchain/internal/DeFi/setbalance
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
balancecheck
post /platform/api/v1/bcflow/onchain/internal/DeFi/balancecheck
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
balancetransfer
post /platform/api/v1/bcflow/onchain/internal/DeFi/balancetransfer
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
getsudouser
post /platform/api/v1/bcflow/onchain/internal/DeFi/getsudouser
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json
Responses
200
400
updatesudouser
post /platform/api/v1/bcflow/onchain/internal/DeFi/updatesudouser
Consumes
This API call consumes the following media types via the Content-Type request header:
application/json
Request body
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
application/json