Marco Cloud Wallet API Library (0.0.13)
Download OpenAPI specification:Download
OpenApi for Marco Cloud Wallet API Library
sendTransaction
Send Transaction.
Request Body schema: application/json
actionId required | string |
required | object |
object | |
wallet | string |
Responses
Request samples
- Payload
Content type
application/json
{- "actionId": "string",
- "glo": {
- "options": {
- "args": [
- "string"
], - "contractInstance": "string",
- "methodName": "string"
}, - "type": "contract_call"
}, - "pluginParams": {
- "property1": "string",
- "property2": "string"
}, - "wallet": "string"
}
Response samples
- 200
Content type
application/json
{- "problem": {
- "detail": "Request message must not be larger than 10 MB",
- "status": 413,
- "title": "Payload Too Large",
- "type": "urn:problem-type:belgif:payloadTooLarge"
}, - "status": "PROCESSING",
- "txId": "string"
}
getTransactionsStatus
Get the status of transactions filtered by the request params
query Parameters
txId required | string The transaction's txId |
Responses
Response samples
- 200
Content type
application/json
[- {
- "details": {
- "contractAddress": "string",
- "locator": "string"
}, - "problem": {
- "detail": "Request message must not be larger than 10 MB",
- "status": 413,
- "title": "Payload Too Large",
- "type": "urn:problem-type:belgif:payloadTooLarge"
}, - "status": "PROCESSING"
}
]
createWallet
Create a wallet
Request Body schema: application/json
ledgerId required | string |
object | |
walletId required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "ledgerId": "string",
- "pluginParameters": {
- "property1": "string",
- "property2": "string"
}, - "walletId": "string"
}
Response samples
- 201
Content type
application/json
{- "walletAddress": "string"
}