AnamWallet
  • Developers
    • INTRODUCE
      • Purpose of AnamWallet
      • Key Features of AnamWallet
    • ARCHITECTURE
      • Main - Module Process
      • Inter-Process Communication (IPC)
    • MODULE
      • Coinmodule Interface
      • Essential JSON-RPC Methods
      • Apply your Module with DFM
      • How to use DFM
    • ENCRYPTION MANAGEMENT
      • Hybrid Encryption System
      • KeyStore File System
    • GUIDELINE
      • Version Requirements
  • Developers - 한국어
    • INTRODUCE
      • Purpose of AnamWallet
      • Key Features of AnamWallet
    • ARCHITECTURE
      • Main - Module Process
      • Inter-Process Communication (IPC)
    • MODULE
      • BlockchainModule Interface
      • Essential JSON-RPC Methods
    • ENCRYPTION MANAGEMENT
      • Hybrid Encryption System
      • KeyStore File System
    • GUIDELINE
      • Version Requirements
  • Users
    • INTRODUCE
    • HELP
    • FAQ
  • License
Powered by GitBook
On this page
  • Method Name alias
  • Method alias List
  • 1. anam_newAccount
  • 2. anam_getBalance
  • 3. anam_sendFunds
  • alias Example
  1. Developers - 한국어
  2. MODULE

Essential JSON-RPC Methods

Method Name alias

모듈을 배포하려는 개발자는 각 지정된 기능을 수행하는 메서드에 대해 별칭을 부여해야 합니다.

즉, 자금 이체를 담당하는 메서드는 anam_sendFunds라는 별칭을, 계정 잔액을 조회하는 메서드는 anam_getBalance라는 별칭을, 계정을 생성하고 키스토어를 생성하는 메서드는 anam_newAccount라는 별칭을 지정해야 합니다.

Method alias List

1. anam_newAccount

  • Function: 새 계정(Keystore) 생성

  • Example: personal_newAccount

2. anam_getBalance

  • Function: 특정 주소의 잔액을 확인합니다.

  • Example : eth_getBalance

3. anam_sendFunds

  • Function: 송금기능

  • Example: eth_sendTransaction

alias Example

위 세 가지 메서드는 필수적으로 구현되어야하며, AnamWallet에서 계정 생성, 잔액 확인, 자금 이체라는 가장 기본적인 지갑 기능을 수행하는 핵심 구성 요소입니다.

Standard Name
Function
Example

anam_sendFunds

송금

eth_sendTransaction

anam_newAccount

계좌생성

eth_createWallet

anam_getBalance

선택계좌 잔액조회

eth_getBalance

예를 들어 anam_getBalance는 다음과 같이 호출됩니다.

{
 "id": 0,
 "method": "anam_getBalance",
 "params": [
    "0x6df8cb904d93e3023c49df6e7589c3485a47e1af",
    "latest"
  ],
}

위 호출은 아래 호출과 동일한 기능을 수행합니다

{
 "id": 0,
 "method": "eth_getBalance",
 "params": [
    "0x6df8cb904d93e3023c49df6e7589c3485a47e1af",
    "latest"
  ],
}
PreviousBlockchainModule InterfaceNextENCRYPTION MANAGEMENT

Last updated 21 days ago