Our public system is still in alpha and not yet recommended for production use. Changes are frequent and things may break. You can find more about how we work here.
Returns all address level metadata for the provided EVM address including signal-level graph flags.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894dimport { useAddress } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useAddress('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns all indexed fungible, non-fungible, and non-tokenized positions for the provided address.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894dimport { usePositions } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = usePositions('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns all the options needed for each action input to build a valid transaction such as tokens, pools, and chains.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894dimport { useContext } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useContext('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns paginated on-chain transaction activity for the provided address, sorted by block number descending.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/activityimport { useActivity } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useActivity('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns all transactions associated with the EVM address provided, after considering all applied filters.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/transactionimport { useTransactions } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useTransactions('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Constructs the transaction calldata and returns the transaction details ready for signing and submission.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/transactionimport { usecreateTransaction } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = usecreateTransaction('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns time-series data for the provided address including price OHLC, balance history, and portfolio value over time.
https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/historyimport { useSeries } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useSeries('0x62180042606624f02d8a130da8a3171e9b33894d',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}
Returns all data for a specific blockchain network including its configuration and metadata.
https://api.plug.to/chainimport { useChains } from "@terminallyonline/plug-sdk";function Component() {const { data, isLoading, error } = useChains('0x...',{ enabled: true });if (isLoading) return <div>Loading...</div>;if (error) return <div>Error: {error.message}</div>;return <pre>{JSON.stringify(data, null, 4)}</pre>;}