Predge action reference
This page is generated from the plugin registry. Do not edit it by hand.
Read verifiable smart-money signals from Predge. Before the step succeeds, the signal’s ed25519 signature is checked offline against a pinned key, the signed envelope is checked to be the conviction signal for the wallet asked for, and every field the step returns is checked against its documented type and range. A workflow therefore only ever acts on a verified conviction that is a number in 0-100, never on a numeric string, a missing field or an out-of-range value. Predge maintains this plugin and operates the default endpoint, https://api.predge.io .
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
| Action | Action type |
|---|---|
| Read Predge Signal | predge/read-signal |
Read Predge Signal
Action type: predge/read-signal. Connection: optional.
Fetch a wallet’s conviction signal from Predge and verify it offline: pinned ed25519 signer, signature over the canonical payload, the signed resource naming the conviction signal for this wallet, subject binding to the wallet, and freshness. The signed payload is then checked field by field: conviction a finite number in 0-100, action one of accumulate/reduce/hold, window one of 7d/30d, each required. The step FAILS on either gate, with the field or the reason in its error, so a successful step is a verified signal whose fields are the documented shape, and there is no verified flag to forget to gate on.
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
wallet | string | Yes | Wallet. Wallet to read a signal for. Only wallets in Predge’s verified smart-money set carry one; the set is re-ranked, so a wallet can leave it and the step then fails with “No Predge signal for this wallet”. |
Outputs
| Output | Description |
|---|---|
success | True only for a signal that verified and whose fields passed their type and range checks; the step errors otherwise |
wallet | The wallet asked for, which the signal was bound to |
conviction | Predge conviction score from the wallet’s on-chain track record; always a number in 0-100, checked before the step succeeds |
action | Recommended action for the wallet; always one of accumulate / reduce / hold |
window | Scoring window for the signal; always 7d or 30d |
signer | Hex ed25519 public key the signature verified against (Predge’s published key, or your pinned override) |
issuedAt | ISO-8601 issue time carried by the verified attestation |
ageSeconds | Age of the attestation in seconds at verification time; can be slightly negative within the clock-skew tolerance |
error | On failure, why the lookup, the verification or a payload field check did not hold |