EGP Blockchain Transactions System
    EGP Blockchain Transactions System
    • Overview
    • Our JavaScript/TypeSctipt SDK
    • users
      • Register a new user
        POST
      • Get user profile
        GET
      • Get user profile
        GET
      • Update user profile
        PUT
      • Delete user account
        DELETE
    • auth
      • Change password
        POST
      • Login
        POST
      • Logout
        POST
      • Refresh token
        POST
    • organizations
      • List organizations
        GET
      • Create a new organization
        POST
      • List organization balance wallets
        GET
      • Deploy a new OrganizationBalancesWalletUpgradeable contract
        POST
      • Update an organization balance wallet
        PATCH
      • Get an organization by ID
        GET
      • Update an organization
        PUT
      • Delete an organization
        DELETE
      • List organization members
        GET
      • Add a member to an organization
        POST
      • Remove a member from an organization
        DELETE
      • List all organizations in the system
        GET
    • API keys
      • List user's API keys
        GET
      • Generate a new API key with Vault storage
        POST
      • Get API key details
        GET
      • Revoke an API key
        DELETE
      • Update API key
        PATCH
    • wallets
      • List wallets
      • Create wallet
      • Get wallet details
      • Update wallet
      • Delete wallet
      • Get wallet balance
      • Sign wallet transaction
      • Get wallet statistics
      • Get wallet transactions
      • Get Solana Wallet History
    • transactions send
      • Commit and Send Approved Transaction
    • transactions approvals
      • List pending approvals
      • Approve transaction
      • Reject transaction
      • Request approval
      • List transaction approvals
      • Get approval
    • transactions create
      • Create transaction
      • Estimate transaction fee
      • Get transaction
      • Confirm transaction
    • transactions information
      • List transactions
      • Get transaction by hash
      • Get transaction status
      • Track external transaction
      • Get wallet transactions
      • Get transaction
      • Confirm transaction
    • contract deployment
      • List Contract Deployments
      • Deploy Contract
      • Get Deployment Status
    • contract interactions
      • Get Contract Function
      • Call Contract Function (Read)
      • Get Function Documentation
      • Update Function Documentation
      • Execute Contract Function
      • Submit Documentation Feedback
      • Get Contract ABI
      • Import Contract ABI
      • Call Contract Function By Name (Read)
      • Execute Contract Function By Name (Write)
      • List Contract Functions
      • List Interactions by Contract Address
      • Search Contracts and Functions
      • Generate Search Report
      • Get Interaction by Transaction Hash
      • Get Contract Interaction by ID
    • external contracts
      • Call External Contract Function
    • permissions
      • Assign role to organization user
      • Get organization user roles
      • Revoke role from organization user
      • List all permissions
      • List permissions by resource type
      • Assign permission to resource
      • Revoke permission from resource
      • List all roles
      • Create a new role
      • Get a role by ID
      • Update a role
      • Delete a role
      • Set transaction limit
      • Get transaction limits by role
      • Assign permission to user
      • Get user permissions
      • Revoke permission from user
      • Assign role to user
      • Get user roles
      • Revoke role from user

    Our JavaScript/TypeSctipt SDK

    EGP Transactions Service TypeScript SDK#

    This SDK provides a simple way to interact with the EGP Transactions Service, a comprehensive blockchain transaction management platform for enterprise environments.

    What is EGP Transactions Service?#

    EGP Transactions Service helps organizations manage blockchain transactions with enterprise-grade security and control. It offers:
    Multi-blockchain support - Works with Polygon, Ethereum, and other EVM-compatible chains
    Smart contract management - Import ABIs, call functions, and deploy contracts
    Wallet management - Create and manage blockchain wallets securely
    Transaction controls - Approval workflows, spending limits, and governance features
    Enterprise security - Role-based access control and secure key management

    GitHub#

    https://github.com/ENBLgames/EGPTransactionSystemSDK

    SDK Structure#

    docs/sdks/typeScript/
    ├── src/
    │   ├── core/               # Core functionality
    │   │   ├── errors.ts       # Custom error types
    │   │   └── httpClient.ts   # API communication
    │   ├── resources/          # API resources
    │   │   ├── apiKeys.ts      # API key management
    │   │   ├── auth.ts         # Authentication
    │   │   ├── contracts.ts    # Smart contract interactions
    │   │   ├── organizations.ts # Organization management
    │   │   ├── permissions.ts  # Permission control
    │   │   ├── transactions.ts # Transaction operations
    │   │   └── wallets.ts      # Wallet management
    │   ├── types/              # TypeScript and Zod schemas
    │   │   ├── apiKey.types.ts # API key types
    │   │   ├── auth.types.ts   # Authentication types
    │   │   ├── common.ts       # Shared types
    │   │   ├── contract.types.ts # Contract types
    │   │   ├── organization.types.ts # Organization types
    │   │   ├── permission.types.ts # Permission types
    │   │   ├── transaction.types.ts # Transaction types
    │   │   └── wallet.types.ts # Wallet types
    │   └── index.ts            # Main entry point
    ├── tests/                  # Test suite
    │   ├── integration/        # Integration tests
    │   └── unit/               # Unit tests
    ├── package.json            # Project dependencies
    └── tsconfig.json           # TypeScript configuration

    Installation#

    Quick Start#

    Key Features#

    Authentication#

    API key or JWT authentication
    Multi-factor authentication support
    Organization context management

    Wallet Management#

    Create and access blockchain wallets
    Add metadata for organization
    Track balances and transaction history

    Transaction Operations#

    Create, track, and approve transactions
    Apply governance rules
    View transaction status and history

    Smart Contract Interactions#

    Deploy smart contracts
    Call view functions (read-only)
    Execute state-changing functions
    Manage contract ABIs

    Organization Management#

    Create and manage organizations
    Add members and assign roles
    Set permissions and transaction limits

    Building from Source#

    Quick Examples#

    Authentication#

    Organization Management#

    API Keys#

    Wallet Management#

    Enjoy!
    Modified at 2025-04-12 12:28:00
    Previous
    Overview
    Next
    Register a new user
    Built with