API - Smart-Contract

post
Whitelist a smart-contract

https://api.shipl.co/app/sc
This endpoint allows you to create an application.
Request
Response
Headers
Authorization
required
string
Bearer JWT or api-keys
Body Parameters
abi
required
string
address
required
string
network
required
string
function
required
array
appId
required
string
version
required
string
name
required
string
200: OK

get
Get the whitelist of an application

https://api.shipl.co/app/sc/list
Request
Response
Headers
Authorization
required
string
Bearer JWT or api-keys
200: OK
[
{
"version": "1.0.0",
"smFunctions": [
{
"outputs": [],
"name": "claim",
"functionSignature": "0x4e71d92d",
"payable": false,
"inputs": [],
"allowed": true
}
],
"abi": "[{constant=false, inputs=[], name=claim, outputs=[], payable=false, stateMutability=nonpayable, type=function}, {constant=true, inputs=[], name=owner, outputs=[{name=, type=address}], payable=false, stateMutability=view, type=function}]",
"tenantId": "TENANTbd0856e62ca64998b4063aXXXXXXXXXX",
"createdAt": 1557460201114,
"address": "0xad10df358bb571b0789af02988db708478f8fff4",
"name": "MyWonderfullApp",
"smartContractAppId": "kovan-2638XXXX-XXXX-4XXX-XXXX-32C0F8XXXXXX",
"network": "ropsten",
"updatedAt": 1557460201114,
"id": "ff4eXXXX-XXXX-4XXX-XXXX-39f12eXXXXXX"
}
]