SimpleHash

Multi-chain NFT API. Instant access to NFT data on 16 chains.

Integrate the SimpleHash API with the Bash API

Setup the SimpleHash API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate SimpleHash and Bash remarkably fast. Free for developers.

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of SimpleHash

SimpleHash API offers tools to easily verify and retrieve blockchain data, simplifying the complexities involved in interacting with various blockchain protocols. With SimpleHash on Pipedream, you can automate workflows to monitor transactions, validate wallet addresses, fetch non-fungible token (NFT) metadata, and more, all in real-time. Pipedream's serverless platform lets you connect SimpleHash with hundreds of other apps to trigger actions, process data, and create powerful automations without needing to manage infrastructure.

Connect SimpleHash

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    simplehash: {
      type: "app",
      app: "simplehash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.simplehash.com/api/v0/nfts`,
      headers: {
        "X-API-KEY": `${this.simplehash.$auth.api_key}`,
      },
      params: {
        chains: `optimism,ethereum,solana`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS