Essential JSON-RPC Methods
Method Name alias
모듈을 배포하려는 개발자는 각 지정된 기능을 수행하는 메서드에 대해 별칭을 부여해야 합니다.
즉, 자금 이체를 담당하는 메서드는 anam_sendFunds
라는 별칭을, 계정 잔액을 조회하는 메서드는 anam_getBalance
라는 별칭을, 계정을 생성하고 키스토어를 생성하는 메서드는 anam_newAccount
라는 별칭을 지정해야 합니다.
Method alias List
1. anam_newAccount
anam_newAccount
Function: 새 계정(Keystore) 생성
Example:
personal_newAccount
2. anam_getBalance
anam_getBalance
Function: 특정 주소의 잔액을 확인합니다.
Example :
eth_getBalance
3. anam_sendFunds
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는 다음과 같이 호출됩니다.
위 호출은 아래 호출과 동일한 기능을 수행합니다
Last updated