Skip to Content

Tempo action reference

This page is generated from the plugin registry. Do not edit it by hand.

Send stablecoin payments on Tempo with on-chain memos and atomic batch payouts, using your KeeperHub wallet

For guidance and examples see the Tempo guide.

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

ActionAction type
Transfer with Memotempo/transfer-with-memo
Batch Payouttempo/batch-payout
Swap Stablecoinstempo/dex-swap
Sign & Hold Paymenttempo/hold-payment

Transfer with Memo

Action type: tempo/transfer-with-memo. Connection: not required.

Send a TIP-20 stablecoin payment on Tempo carrying an on-chain bytes32 memo (e.g. an invoice or pay-run reference)

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 4217, 42431Network.
tokenConfigstringYesToken.
amountstringYesAmount.
recipientAddressstringYesRecipient Address.
memostringNoMemo. Attached on-chain as an indexed bytes32 topic. Plain text (<= 31 bytes) is utf8-encoded; a 0x + 64-hex value is used verbatim (e.g. a receipt hash).
validBeforestringNoExpire if not settled by. Optional on-chain expiry: if the transfer is not included by this time it fails instead of lingering. A fixed date+timezone, a relative offset (e.g. +15m from the run), or a value from another step. Leave blank for no expiry.

Outputs

OutputDescription
successWhether the transfer succeeded
transactionHashThe transaction hash of the transfer
transactionLinkExplorer link to view the transaction
fromThe sending wallet address
toThe recipient address
amountThe amount transferred (human-readable)
memoThe bytes32 memo attached to the transfer
validBeforeOn-chain expiry enforced (unix seconds), or null if none set
chainIdThe Tempo chain id used
errorError message if the transfer failed

Batch Payout

Action type: tempo/batch-payout. Connection: not required.

Pay many recipients in one atomic Tempo transaction, each payment stamped with its own memo. All payments settle together or none do.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 4217, 42431Network.
tokenConfigstringYesToken.
payoutsstringYesPayouts. JSON array of payments. Each entry needs “recipient” and “amount”; “memo” is optional and falls back to the shared memo below. Attached on-chain as an indexed bytes32 topic. Plain text (<= 31 bytes) is utf8-encoded; a 0x + 64-hex value is used verbatim (e.g. a receipt hash).
memostringNoShared Memo. Applied to every payment that does not set its own memo (e.g. a pay-run id). Attached on-chain as an indexed bytes32 topic. Plain text (<= 31 bytes) is utf8-encoded; a 0x + 64-hex value is used verbatim (e.g. a receipt hash).

Outputs

OutputDescription
successWhether the batch payout succeeded
transactionHashThe transaction hash of the atomic batch
transactionLinkExplorer link to view the transaction
fromThe sending wallet address
payoutCountNumber of payments included in the batch
totalAmountTotal amount paid across the batch (human-readable)
chainIdThe Tempo chain id used
errorError message if the batch payout failed

Swap Stablecoins

Action type: tempo/dex-swap. Connection: not required.

Market-swap one Tempo stablecoin for another on the enshrined DEX, protected by a minimum-output slippage floor

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 4217, 42431Network.
tokenInConfigstringYesSell Token.
tokenOutConfigstringYesBuy Token.
amountInstringYesAmount to Sell.
slippageBpsnumberNo50min 0, max 9999Max Slippage (bps). Maximum slippage in basis points (50 = 0.5%). The swap reverts if the output falls below this floor.

Outputs

OutputDescription
successWhether the swap succeeded
transactionHashThe transaction hash of the swap
transactionLinkExplorer link to view the transaction
fromThe swapping wallet address
tokenInSymbol of the token sold
tokenOutSymbol of the token bought
amountInAmount sold (human-readable)
quotedOutQuoted output amount at execution time (human-readable)
minAmountOutMinimum output enforced after slippage (human-readable)
chainIdThe Tempo chain id used
errorError message if the swap failed

Sign & Hold Payment

Action type: tempo/hold-payment. Connection: not required.

Sign a stablecoin payment now and hold the signed transaction to broadcast later, on demand or at a scheduled time. The on-chain validity window guarantees it can never settle after its deadline.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 4217, 42431Network.
tokenConfigstringYesToken.
amountstringYesAmount.
recipientAddressstringYesRecipient Address.
memostringNoMemo. Attached on-chain as an indexed bytes32 topic. Plain text (<= 31 bytes) is utf8-encoded; a 0x + 64-hex value is used verbatim (e.g. a receipt hash).
broadcastModestringNomanualmanual, scheduleRelease. Manual holds are released from the Held Payments page by an organization owner. Scheduled holds fire automatically at the broadcast time.
broadcastAtstringNoBroadcast At. Required when Release is ‘At a scheduled time’. A fixed date+timezone, a relative offset (e.g. +2h from the run), or a value from another step.
validBeforestringNoValid Before. On-chain deadline after which the payment can no longer settle. A fixed date, a relative offset (e.g. +1h from the run), or a value from another step. Defaults to 24 hours from now (manual) or 1 hour past the broadcast time (scheduled).

Outputs

OutputDescription
successWhether the payment was held
paymentIdId of the held payment, used later to broadcast or cancel it
precomputedHashThe transaction hash the signed payment will settle as
fromThe sending wallet address
toThe recipient address
amountThe amount held (human-readable)
memoThe bytes32 memo attached to the payment
broadcastModeWhether the hold is released manually or on a schedule
broadcastAtScheduled broadcast time (ISO), or null for manual
validBeforeOn-chain deadline after which the payment can no longer settle (unix seconds)
statusThe held payment status (pending)
chainIdThe Tempo chain id used
errorError message if the hold failed