Documentation Index
Fetch the complete documentation index at: https://daehan-base.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
request 메서드는 앱이 지갑에 Ethereum RPC 요청을 보낼 수 있도록 합니다.
명세
예시
Request 처리 방식
요청은 다음 세 가지 방식 중 하나로 처리됩니다.- 지갑 애플리케이션(모바일 앱, 확장 프로그램, 또는 팝업 창)으로 전달됩니다.
- SDK가 로컬에서 직접 처리합니다.
- 해당 체인에 기본 RPC provider가 있으면 그 provider로 전달됩니다.
1. 지갑 애플리케이션으로 전달되는 요청
다음 RPC 요청은 지갑 애플리케이션으로 전달됩니다.personal_signeth_sendTransactioneth_sendRawTransactioneth_signTypedData_v4wallet_addEthereumChainwallet_watchAssetwallet_sendCallswallet_getCallsStatuswallet_connectwallet_getCapabilitieswallet_switchEthereumChainwallet_addSubAccountwallet_getSubAccountscoinbase_fetchPermissionscoinbase_fetchPermission
2. SDK가 로컬에서 처리하는 요청
다음 요청은 외부 호출 없이 SDK가 직접 처리합니다.3. RPC provider로 전달되는 요청
표준 Ethereum RPC 메서드는 현재 체인에 설정된 RPC provider로 전달됩니다. 대표적으로 다음이 포함됩니다.eth_getBalanceeth_blockNumbereth_gasPriceeth_estimateGaseth_feeHistoryeth_getBlockByNumbereth_getBlockByHasheth_getTransactionByHasheth_getTransactionReceipteth_getTransactionCounteth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getCodeeth_getStorageAteth_getLogseth_getProofeth_getUncleCountByBlockHasheth_getUncleCountByBlockNumbereth_sendRawTransaction