View as Markdown
DataTrails (formerly RKVST) icon

DataTrails (formerly RKVST) ACTION

Create Asset

Allows for the addition of a new asset into the RKVST system. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DataTrails (formerly RKVST) account once, then configure and run Create Asset 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: "rkvst-create-asset",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    rkvst: { authProvisionId: "apn_xxxxxxx" },
    attributes: "Attributes",
    behaviours: ["Behaviours"],
  },
})

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.

Create Asset inputs
Property Type Description
attributes Attributes object
Key value mapping of event attributes.
Optional
behaviours Behaviours string[]
List of behaviours enabled for this asset.
Optional
chainId Chain Id string
Chain id of the blockchain associated with this asset.
Optional
proofMechanism Proof Mechanism string
Specify the mechanism used to provide evidential proof for Events on this Asset.
Optional
public Public boolean
A public asset and all its events are visible to the general public.Sharing to specific organisations is not available for public assets.
Optional

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
rkvst-create-asset
Version
0.0.2
App
DataTrails (formerly RKVST)
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes