View as Markdown
Overledger icon

Overledger ACTION

Sign a transaction

Sign a transaction using Overledger - Part 2 of Overledger Pattern. See documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Overledger account once, then configure and run Sign a transaction from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "overledger-sign-a-transaction",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    overledger: { authProvisionId: "apn_xxxxxxx" },
    environment: "Overledger Instance",
    locationTechnology: "Location Technology",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Sign a transaction inputs
Property Type Description
environment Overledger Instance string
Select the Overledger instance to be used
Required
locationTechnology Location Technology string
The blockchain technology used for this transaction, e.g., ethereum, substrate - required in order to set the dltfee
Required
keyId Signing Account ID string
The ID/address of the blockchain account that will sign the transaction.
Required
requestId Request ID string
The Request ID assigned to a preparation request in Overledger. This should be set to the requestId parameter found in the response object of the 'Prepare Transaction' Overledger action.
Required
transactionSigningResponderName Transaction Signing Responder Name string
The name of the Transaction Signing Responder you would like to use. The CTA Transaction Signing Responder is the Quant-provided signer for testnet accounts.
Required
nativeData Native Data object
An object representing the transaction required to be signed - This should be set to the nativeData object of the 'Prepare Transaction' Overledger action.
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
overledger-sign-a-transaction
Version
0.0.4
App
Overledger
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes