Triggers
Trigger lifecycle management
Comma-separated list of trigger signatures to filter by
An IPFS content identifier (CIDv0 or CIDv1 base32).
QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6ucoA valid EVM (0x-prefixed hex) address.
0x1234567890abcdef1234567890abcdef12345678Filter by active state
Unix timestamp in milliseconds.
1700000000000Unix timestamp in milliseconds.
1700000000000010Sort order: 1 for ascending, -1 for descending
-1Possible values: List of triggers
A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defAn IPFS content identifier (CIDv0 or CIDv1 base32).
QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6ucoA valid EVM (0x-prefixed hex) address.
0x1234567890abcdef1234567890abcdef12345678A semantic version string.
1.0.0A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defTrigger schedule configuration. Discriminated by the integer type field: 0 → CronTriggerConfig, 1 → EventTriggerConfig, 2 → OnceTriggerConfig.
A non-negative integer represented as a decimal string.
1000000000000000000Unix timestamp in milliseconds.
1700000000000GET /triggers HTTP/1.1
Host: api-protocol.mimic.fi
Accept: */*
List of triggers
[
{
"sig": "0xabc...def",
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"signer": "0x1234567890abcdef1234567890abcdef12345678",
"version": "1.0.0",
"description": "text",
"deactivateSig": "0xabc...def",
"createdAt": "2026-01-01T00:00:00.000Z",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
},
"executionFeeLimit": "1000000000000000000",
"minValidations": 1,
"types": {
"Input": [
{
"name": "text",
"type": "text"
}
],
"Config": [
{
"name": "text",
"type": "text"
}
],
"Trigger": [
{
"name": "text",
"type": "text"
}
],
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"type": "text"
}
]
},
"endDate": 1700000000000
}
]Registers a new trigger. The typedData is an EIP-712 typed data structure signed by signer. The signature is recovered on-chain to verify ownership.
A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defA valid EVM address (0x-prefixed, 20 bytes).
0x1234567890abcdef1234567890abcdef12345678Trigger created
A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defAn IPFS content identifier (CIDv0 or CIDv1 base32).
QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6ucoA valid EVM (0x-prefixed hex) address.
0x1234567890abcdef1234567890abcdef12345678A semantic version string.
1.0.0A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defTrigger schedule configuration. Discriminated by the integer type field: 0 → CronTriggerConfig, 1 → EventTriggerConfig, 2 → OnceTriggerConfig.
A non-negative integer represented as a decimal string.
1000000000000000000Unix timestamp in milliseconds.
1700000000000Bad request — invalid parameters or body
Unauthorized — missing or invalid credentials
Resource not found
POST /triggers HTTP/1.1
Host: api-protocol.mimic.fi
Content-Type: application/json
Accept: */*
Content-Length: 578
{
"description": "text",
"typedData": {
"types": {
"Input": [
{
"name": "text",
"type": "text"
}
],
"Config": [
{
"name": "text",
"type": "text"
}
],
"Trigger": [
{
"name": "text",
"type": "text"
}
],
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"type": "text"
}
]
},
"values": {
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"version": "1.0.0",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
},
"executionFeeLimit": "1000000000000000000",
"minValidations": 1
}
},
"sig": "0xabc...def",
"signer": "0x1234567890abcdef1234567890abcdef12345678"
}{
"sig": "0xabc...def",
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"signer": "0x1234567890abcdef1234567890abcdef12345678",
"version": "1.0.0",
"description": "text",
"deactivateSig": "0xabc...def",
"createdAt": "2026-01-01T00:00:00.000Z",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
},
"executionFeeLimit": "1000000000000000000",
"minValidations": 1,
"types": {
"Input": [
{
"name": "text",
"type": "text"
}
],
"Config": [
{
"name": "text",
"type": "text"
}
],
"Trigger": [
{
"name": "text",
"type": "text"
}
],
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"type": "text"
}
]
},
"endDate": 1700000000000
}Returns the EIP-712 typed data structure (domain, primaryType, types, and message) needed to sign a new trigger. The caller must sign the returned message and submit it with the signature to POST /triggers.
An IPFS content identifier (CIDv0 or CIDv1 base32).
QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6ucoA semantic version string.
1.0.0Trigger schedule configuration. Discriminated by the integer type field: 0 → CronTriggerConfig, 1 → EventTriggerConfig, 2 → OnceTriggerConfig.
EIP-712 sign parameters
EIP-712 typed data structure ready to be signed by the caller
TriggerBad request — invalid parameters or body
Resource not found
POST /triggers/sign-params HTTP/1.1
Host: api-protocol.mimic.fi
Content-Type: application/json
Accept: */*
Content-Length: 206
{
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"version": "1.0.0",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
}
}{
"domain": {
"name": "Mimic Protocol - Registry",
"version": "1"
},
"primaryType": "Trigger",
"types": {
"Input": [
{
"name": "text",
"type": "text"
}
],
"Config": [
{
"name": "text",
"type": "text"
}
],
"Trigger": [
{
"name": "text",
"type": "text"
}
],
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"type": "text"
}
]
},
"message": {
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"version": "1.0.0",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
},
"executionFeeLimit": "1000000000000000000",
"minValidations": 1
}
}A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defTrigger details
A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defAn IPFS content identifier (CIDv0 or CIDv1 base32).
QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6ucoA valid EVM (0x-prefixed hex) address.
0x1234567890abcdef1234567890abcdef12345678A semantic version string.
1.0.0A 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defTrigger schedule configuration. Discriminated by the integer type field: 0 → CronTriggerConfig, 1 → EventTriggerConfig, 2 → OnceTriggerConfig.
A non-negative integer represented as a decimal string.
1000000000000000000Unix timestamp in milliseconds.
1700000000000Resource not found
GET /triggers/{sig} HTTP/1.1
Host: api-protocol.mimic.fi
Accept: */*
{
"sig": "0xabc...def",
"functionCid": "QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"signer": "0x1234567890abcdef1234567890abcdef12345678",
"version": "1.0.0",
"description": "text",
"deactivateSig": "0xabc...def",
"createdAt": "2026-01-01T00:00:00.000Z",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"config": {
"type": 0,
"schedule": "text",
"delta": "text",
"endDate": 1700000000000
},
"executionFeeLimit": "1000000000000000000",
"minValidations": 1,
"types": {
"Input": [
{
"name": "text",
"type": "text"
}
],
"Config": [
{
"name": "text",
"type": "text"
}
],
"Trigger": [
{
"name": "text",
"type": "text"
}
],
"ANY_ADDITIONAL_PROPERTY": [
{
"name": "text",
"type": "text"
}
]
},
"endDate": 1700000000000
}Permanently deactivates one or more triggers. The signature must be signed by the original trigger signer, and all provided triggerSigs must belong to that same signer.
Trigger signatures to deactivate
0xabc...defA 65-byte hex-encoded ECDSA signature (130 hex chars + 0x prefix).
0xabc...defTriggers deactivated
No content
Bad request — invalid parameters or body
POST /triggers/deactivate HTTP/1.1
Host: api-protocol.mimic.fi
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"triggerSigs": [
"0xabc...def"
],
"signature": "0xabc...def"
}No content
Last updated