blessnet docs
  • Welcome to Blessnet
  • Getting Started
    • Quickstart
  • Reference
    • Blessnet Chain Details
    • Supported Chains
    • Contract Addresses
  • BLESS Token
    • BLESS
    • Get BLESS
    • BLESS Sepolia Faucet
    • BLESS Sprinkler
    • BLESS Dispenser
    • BLESS Bridge
  • Blessnet Apps
    • Attestations
    • Ethereals
    • Mirrors
    • Modular Permissions
    • Transaction Bridge
  • Papers and Articles
    • Whitepaper
  • Tech
    • Technical Reference
  • Blessnet API
    • Blessnet API URLs
    • /account-abstraction/operations
    • /account-abstraction/operations/accounts/:address
    • /account-abstraction/platforms/:platform/accounts/:id
    • /account-abstraction/platforms/:platform/accounts
    • /addresses/:address/delegates
    • /addresses/:address/permissions
    • /addresses/:address/vaults
    • /project
    • /bridge/transfers
    • /bridge/transfers/transactions/:hash
    • /deliveries/:id
    • /ethereals
    • /ethereals/:chainId/:address
    • /sprinkles
    • /tokens/:address/:id/uri
    • Block Scan API
  • Contract ABI
    • Attestions.sol
Powered by GitBook
On this page
  • Headers
  • Path Variables
  • Params
  • Response Body
  • Example Request
  • Response
  1. Blessnet API

/addresses/:address/permissions

You need an API key for this call. Please reach out to the Blessnet team to get setup.

GET/addresses/:address/permissions

The /addresses/:address/permissions endpoint retrieves a list of all current modular permissions for an address, both as a delegate and as a vault.

Headers

Name
Value

x-api-key

Your API key

Path Variables

Name
Mandatory?
Default
Value

:address

Yes

The ethereal address you are querying

Params

Name
Mandatory?
Default
Value

chain

No

mainnet

The chain type we are working with, either mainnet or sepolia

Response Body

Name
Type
Description

asDelegate

array

An array of delegations where the query address is the delegate

asVault

array

An array of delegations where the query address is the vault

Example Request

GET https://api.bless.net/addresses/0x69c368F76DEB816c9DA037ff562cFA76eA31820e/permissions

Response

{
    "asDelegate": [
        {
            "_id": "671ae2dccf1e3ed7134614c8",
            "delegate": "0x69c368F76DEB816c9DA037ff562cFA76eA31820e",
            "vault": "0x66f13e0bd1Cc72FF147Fc3F5ab7baC036edEbae8",
            "source": "MPERM",
            "chain": 45513,
            "logIndex": 0,
            "permissionIds": [
                2,
                3,
                4,
                1092
            ],
            "txnHash": "0x8dbd942eb299f349221cf14864ba2defed2692e059e7af778eb703c0c5b15dc0"
        }
    ],
    "asVault": []
}
{
  "message": "Please provide chainId and delegate address as query parameters."
}
Previous/addresses/:address/delegatesNext/addresses/:address/vaults

Last updated 2 months ago