Tensor · Capability

Marketplace Trading

Marketplace Trading is a Naftiko capability published by Tensor, one of 3 capabilities the APIs.io network indexes for this provider.

Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Run with Naftiko

Capability Spec

marketplace-trading.yaml Raw ↑
name: tensor-marketplace-trading
title: Tensor Marketplace — Trading
description: |
  Capability bundle that builds unsigned Solana transactions for the canonical Tensor
  trading flows. The TX API returns base64 transactions; the user's wallet signs and
  submits. Use only when the agent has explicit, scoped authorization to spend funds.
provider: tensor
api: tensor:tensor-tx-api
specification:
  type: openapi
  url: ../openapi/tensor-tx-api-openapi.yml
authentication:
  type: api-key
  header: x-tensor-api-key
operations:
- id: buildListTx
  intent: list-nft
- id: buildEditListingTx
  intent: edit-listing
- id: buildDelistTx
  intent: delist-nft
- id: buildBuyTx
  intent: buy-nft
- id: buildPlaceCollectionBidTx
  intent: place-collection-bid
- id: buildPlaceSingleNftBidTx
  intent: place-single-nft-bid
- id: buildPlaceTraitBidTx
  intent: place-trait-bid
- id: buildAcceptBidTx
  intent: accept-bid
- id: buildCancelBidTx
  intent: cancel-bid
- id: buildCreatePoolTx
  intent: create-amm-pool
- id: buildEditPoolTx
  intent: edit-amm-pool
- id: buildClosePoolTx
  intent: close-amm-pool
- id: buildPoolDepositTx
  intent: deposit-pool
- id: buildPoolWithdrawTx
  intent: withdraw-pool
- id: buildEscrowDepositTx
  intent: deposit-escrow
- id: buildEscrowWithdrawTx
  intent: withdraw-escrow
governance:
  read-only: false
  pii: false
  signing: client-side
  spending: true
  scopes:
  - tensor.list
  - tensor.bid
  - tensor.buy
  - tensor.pool.manage
  - tensor.escrow.manage
  guardrails:
  - Require explicit price cap (`maxPrice`) on every buy.
  - Require human confirmation for any operation that moves SOL out of escrow.
  - Validate `lastValidBlockHeight` and refresh blockhash before signing.