Monitor a Resource

Monitor an address for incoming and outgoing transactions

Overledger creates a tracking record for the given address and records information each time the given address receives or sends transactions on the DLT

SecurityOAuth2_Security_Scheme
Request
header Parameters
Authorization
required
string [ 0 .. 5010 ] characters ^Bearer [A-Za-z0-9\-_. ]{1,5010}$
Request Body schema: application/json
callBackURL
string [ 0 .. 300 ] characters ^http[\S\s]{1,300}$
object (Location)

Unique reference to the ledger on a particular ledger network (optionally accessed from a particular node)

addressId
string [ 0 .. 200 ] characters ^[a-zA-Z0-9]{1,100}$
Responses
200

All good!

401

Unauthorised

500

Something went wrong on our side

post/v2/resourcemonitoring/address
Request samples
application/json

Monitor Address

{
  • "location": {
    },
  • "addressId": "0xd8b31B65878a6B1a6cAf9f4819C1A42d68a7A116"
}
Response samples
application/json

Create Resource Monitoring

{
  • "subscriptionDetails": {
    },
  • "resourceMonitoring": {
    },
  • "subscription": {}
}

Monitor a smart contract for an event

Overledger creates a tracking record for the given smart contract and records information each time a transaction on the DLT triggers a specific event

SecurityOAuth2_Security_Scheme
Request
header Parameters
Authorization
required
string [ 0 .. 5010 ] characters ^Bearer [A-Za-z0-9\-_. ]{1,5010}$
Request Body schema: application/json
callBackURL
string [ 0 .. 300 ] characters ^http[\S\s]{1,300}$
Array of objects (MonitorSmartContractEventParam)
eventName
string [ 0 .. 100 ] characters ^[a-zA-Z0-9 ]{1,100}$
object (Location)

Unique reference to the ledger on a particular ledger network (optionally accessed from a particular node)

smartContractId
string [ 0 .. 100 ] characters ^[a-zA-Z0-9]{1,100}$
Responses
200

All good!

401

Unauthorised

500

Something went wrong on our side

post/v2/resourcemonitoring/smartcontractevent
Request samples
application/json

Monitor Smart Contract

{
  • "eventParams": [
    ],
  • "eventName": "mul",
  • "location": {
    },
  • "smartContractId": "0x8781d54e454377451D9C6928538Db544Caa65CDf"
}
Response samples
application/json

Create Smart Contract Monitoring

{
  • "subscriptionDetails": {
    },
  • "resourceMonitoring": {
    },
  • "subscription": {}
}