MEM
WebsiteLabsGuides
  • ⚗️Molecular Execution Machine
  • 👋Introduction
    • What is MEM?
    • MEM features
    • MEM vs alternatives
    • Technical architecture
    • Use-case examples
  • ⚡Quickstart
    • Quickstart guide
  • 📖MEM Specifications
    • Function syntax
    • Function specs
    • Transaction specs
    • Supported languages
    • About MIPs
  • ⚛️Molecules
    • Overview
    • Multichain authentication
    • Using APIs
    • API reference
  • 🧪MEM IDE
    • Overview
    • Function ABI
  • ⚒️MEM Carbon Testnet
    • Overview
    • Deploy to testnet
    • Interact with testnet functions
  • ⚙️MEM SDK
    • SDK Usage
  • 🖥️MEM CLI
    • Function deployment
    • Function interaction
  • 🏗️MEM API
    • Overview
    • Write operations
    • Read operations
  • ⚛️3EM-MEM
    • Overview
    • EXM API
    • Key-Value Storage (KVS)
  • 🧩Examples
    • Pastebin clone
    • Query onchain data
Powered by GitBook

mem.tech © 2023

On this page
  • Arweave (ar)
  • EVM (evm)
  • Solana (sol)
  • Zilliqa (zil)
  • Stacks (stx)
  • Substrate (substrate)
  • TRON (trx)
  • Internet Computer (icp)
  • TON (ton)
  • Massa (massa)
  • Fuel Network (fuel)
  • Tezos (tez)
  • Aptos (aptos)
  • Nostr (nostr)
  • NEAR (near)
  • Redstone (redstone)
  • everPay (everPay)
  • Randomization (rand)
  • NoRamp (noramp)
  • Ark Protocol (ark)
  1. Molecules

API reference

Arweave (ar)

Verify an Arweave address from a signature

ar.molecule.sh/ar-auth/{publicKey}/{message}/{signature}

  • Arguments:

    • publicKey (required): the Arweave jwk's n property, encoded to binary

    • message (required): text of the signed message, encoded to binary

    • signature (required): signature generated by the signed message, encoded to binary

Query an Arweave transaction by ID

ar.molecule.sh/tx-gql/{txid}

  • Arguments:

    • txid (required): The transaction ID of the Arweave transaction.

Query an Arweave block by ID

ar.molecule.sh/block-gql/{blockid}

  • Arguments:

    • blockid (required): The ID of the Arweave block.

Derive an Arweave address from a public key

ar.molecule.sh/ota/{publicKey}

  • Arguments:

    • publicKey (required): The Arweave jwk's n property

EVM (evm)

Verify an EVM signature to derive caller address.

evm.molecule.sh/signer/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Ethereum address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Solana (sol)

Verify a Solana signature to derive caller address.

sol.molecule.sh/auth/{accountId}/{message}/{signature}

  • Arguments:

    • accountId (required): The Solana account ID of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Zilliqa (zil)

Verify a Zilliqua signature to derive caller address.

zil.molecule.sh/zil-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Zilliqa address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Stacks (stx)

Verify a Stacks signature to derive caller address.

stx.molecule.sh/stx-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Stacks address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Substrate (substrate)

Verify a Substrate signature to derive caller address.

substrate.molecule.sh/substrate-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Substrate address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

TRON (trx)

Verify a TRON signature to derive caller address.

  • trx.molecule.sh/trx-auth/{address}/{message}/{signature}

    • Arguments:

      • address (required): The TRON address of the signer.

      • message (required): The message signed by the signer.

      • signature (required): The signature generated by the signer.

Internet Computer (icp)

Verify an Internet Computer signature to derive caller address.

icp.molecule.sh/icp-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Internet Computer address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

TON (ton)

Verify a TON signature to derive caller address.

ton.molecule.sh/ton-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The TON address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Massa (massa)

Verify a Massa signature to derive caller address.

massa.molecule.sh/massa-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Massa address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Fuel Network (fuel)

Verify a Fuel signature to derive caller address.

fuel.molecule.sh/fuel-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Fuel Network address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Tezos (tez)

Verify a Tezos signature to derive caller address.

tez.molecule.sh/tez-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Tezos address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Aptos (aptos)

Verify an Aptos signature to derive caller address.

aptos.molecule.sh/aptos-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Aptos address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

Nostr (nostr)

Verify a Nostr signature to derive caller address.

nostr.molecule.sh/nostr-auth/{address}/{message}/{signature}

  • Arguments:

    • address (required): The Nostr address of the signer.

    • message (required): The message signed by the signer.

    • signature (required): The signature generated by the signer.

NEAR (near)

Query a NEAR contract interaction by user and key.

near.molecule.sh/n-view-state/{contractId}/{accountId}/{key}

  • Arguments:

    • contractId (required): The NEAR contract ID.

    • accountId (required): The NEAR account ID.

    • key (required): The key to fetch from the contract state.

Redstone (redstone)

redstone.molecule.sh/price/{symbol}

  • Arguments:

    • symbol (required): The symbol of the asset.

everPay (everPay)

(coming soon)

Randomization (rand)

(coming soon)

NoRamp (noramp)

(coming soon)

Ark Protocol (ark)

Query Ark Protocol identity by username

ark.molecule.sh/state/{username}

  • Arguments:

    • username (required): The Ark username.

Resolve an Ark Protocol username to the owner's address

ark.molecule.sh/resolve/{username}

  • Arguments:

    • username (required): The Ark username.

Resolve a DID to an Ark Protocol identity

ark.molecule.sh/soark/domain/{domain}

  • Arguments:

    • domain (required): The domain name.

PreviousUsing APIsNextOverview

Last updated 1 year ago

Fetch price data from RedStone for a given supported .

⚛️
Example
asset