Push Notifications

The Sort <PushNotifications/> React Component lets you easily include live blockchain transactions into your application.

Source code

Light mode


Dark mode

Props

NameDefault ValueDescription
contract_addressContract address to show latest transactions for, must be a "sponsored" contract in Sort
function_nameContract function name for filtering
num10Number of results to display
height500pxCSS height property
themedark"dark" or "light

Code Example

import { PushNotifications } from "@sort/react-components";

export default function ShowRealtimeTransactions() {
  return 
    <PushNotifications 
      contract_address="0x6b175474e89094c44da98b954eedeac495271d0f"
      function_name="execute"
      height="200px"
      theme="light"
    />
}