PolygonScan

Blockchain explorer for the Polygon (MATIC) network.

Integrate the PolygonScan API with the Supabase API

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

Delete Row with Supabase API on New Transaction Posted from PolygonScan API
PolygonScan + Supabase
 
Try it
Get Account Balance with PolygonScan API on New Row Added from Supabase API
Supabase + PolygonScan
 
Try it
Get Account Balance with PolygonScan API on New Webhook Event (Instant) from Supabase API
Supabase + PolygonScan
 
Try it
Insert Row with Supabase API on New Transaction Posted from PolygonScan API
PolygonScan + Supabase
 
Try it
Query Contract ABI with PolygonScan API on New Row Added from Supabase API
Supabase + PolygonScan
 
Try it
New Transaction Posted from the PolygonScan API

Emit new event when a new transaction is posted on the PolygonScan network for a specific address.

 
Try it
New Row Added from the Supabase API

Emit new event for every new row added in a table. See documentation here

 
Try it
New Webhook Event (Instant) from the Supabase API

Emit new event for every insert, update, or delete operation in a table. This source requires user configuration using the Supabase website. More information in the README. Also see documentation here

 
Try it
Get Account Balance with the PolygonScan API

Retrieves the balance of a specific address within the Polygon network. See the documentation

 
Try it
Delete Row with the Supabase API

Deletes row(s) in a database. See the docs here

 
Try it
Insert Row with the Supabase API

Inserts a new row into a database. See the docs here

 
Try it
Query Contract ABI with the PolygonScan API

Obtains the contract ABI of a smart contract on the Polygon network. See the documentation

 
Try it
Retrieve Transaction Details with the PolygonScan API

Fetches the details of a specific transaction by its transaction hash. See the documentation

 
Try it

Overview of PolygonScan

The PolygonScan API provides access to blockchain data from the Polygon network. It allows for querying of blocks, transactions, and wallet addresses, among other data points. With Pipedream, you can integrate this API to automate monitoring, alerting, and data analysis tasks. You can leverage Pipedream's serverless platform to create workflows that react to events on the Polygon network in real-time, without having to manage infrastructure or write complex backend code.

Connect PolygonScan

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: {
    polygonscan: {
      type: "app",
      app: "polygonscan",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.polygonscan.com/api`,
      params: {
        module: `account`,
        action: `balance`,
        address: `{{your_address}}`, //For testing, try address "0x5A534988535cf27a70e74dFfe299D06486f185B7"
        apikey: `${this.polygonscan.$auth.api_key}`,
      },
    })
  },
})

Overview of Supabase

Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.

Connect Supabase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    supabase: {
      type: "app",
      app: "supabase",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
      headers: {
        Authorization: `Bearer ${this.supabase.$auth.service_key}`,
        "apikey": `${this.supabase.$auth.service_key}`,
      },
    })
  },
})