eth
accounts(): Vec<H160>
Vec<H160>interface:
api.rpc.eth.accountsjsonrpc:
eth_accountssummary: 클라이언트가 소유한 주소 목록을 반환합니다.
blockNumber(): U256
U256interface:
api.rpc.eth.blockNumberjsonrpc:
eth_blockNumbersummary: 현재 "최신" 블록 번호를 반환합니다.
call(transaction: transactionObject, block?: BlockNumber): HexString
transactionObject, block?: BlockNumber): HexStringinterface:
api.rpc.eth.calljsonrpc:
eth_callsummary: 블록체인에 트랜잭션을 생성하지 않고 새 메시지 호출을 즉시 실행합니다.
chainId(): HexString
interface:
api.rpc.eth.chainIdjsonrpc:
eth_chainIdsummary: 현재 구성된 체인 ID를 반환합니다.
coinbase(): H160
H160interface:
api.rpc.eth.coinbasejsonrpc:
eth_coinbasesummary: 블록 작성자를 반환합니다.
estimateGas(transaction: transactionObject, block?: BlockNumber): HexString
transactionObject, block?: BlockNumber): HexStringinterface:
api.rpc.eth.estimateGasjsonrpc:
eth_estimateGassummary: 주어진 트랜잭션 실행에 필요한 가스량을 추정합니다.
feeHistory(blockCount: U256, newest_block: BlockNumber, reward_percentiles?: Vec<f64>): FeeHistory
U256, newest_block: BlockNumber, reward_percentiles?: Vec<f64>): FeeHistoryinterface:
api.rpc.eth.feeHistoryjsonrpc:
eth_feeHistorysummary: EIP-1159에서 적절한 우선순위 수수료 정보를 얻기 위해 도입되었습니다.
gasPrice(): HexString
HexStringinterface:
api.rpc.eth.gasPricejsonrpc:
eth_gasPricesummary: 현재 가스 가격을 wei 단위로 반환합니다.
getBalance(address: H160, block?: BlockNumber): HexString
H160, block?: BlockNumber): HexStringinterface:
api.rpc.eth.getBalancejsonrpc:
eth_getBalancesummary: 주어진 주소의 계정 잔액을 반환합니다.
getBlockByHash(hash: H256, full?: bool): BlockObject
H256, full?: bool): BlockObjectinterface:
api.rpc.eth.getBlockByHashjsonrpc:
eth_getBlockByHashsummary: 해시를 통해 블록 정보를 반환합니다.
getBlockByNumber(BlockNumber: BlockNumber, full?: bool): BlockObject
BlockNumber, full?: bool): BlockObjectinterface:
api.rpc.eth.getBlockByNumberjsonrpc:
eth_getBlockByNumbersummary: 해시를 통해 블록 정보를 반환합니다.
getBlockTransactionCountByHash(hash: H256): U256
H256): U256interface:
api.rpc.eth.getBlockTransactionCountByHashjsonrpc:
eth_getBlockTransactionCountByHashsummary: 주어진 블록 해시를 가진 블록의 트랜잭션 수를 반환합니다.
getBlockTransactionCountByNumber(BlockNumber: BlockNumber): U256
BlockNumber): U256interface:
api.rpc.eth.getBlockTransactionCountByNumberjsonrpc:
eth_getBlockTransactionCountByNumbersummary: 주어진 블록 번호를 가진 블록의 트랜잭션 수를 반환합니다.
getCode(address: H160, number?: BlockNumber): Bytes
H160, number?: BlockNumber): Bytesinterface:
api.rpc.eth.getCodejsonrpc:
eth_getCodesummary: 주어진 주소에 컴파일된 스마트 컨트랙트 코드가 있다면 반환합니다.
getFilterChanges(index: Index): FilterChanges
Index): FilterChangesinterface:
api.rpc.eth.getFilterChangesjsonrpc:
eth_getFilterChangessummary: 필터에 대한 폴링 (polling) 메서드로, 마지막 폴링 이후 발생한 로그 배열을 반환합니다. 필터는
eth_newFilter또는eth_newBlockFilter를 호출하여 생성되어야 합니다.
getFilterLogs(index: Index): Vec<Log>
Index): Vec<Log>interface:
api.rpc.eth.getFilterLogsjsonrpc:
eth_getFilterLogssummary: 주어진 ID를 가진 필터와 일치하는 모든 로그의 배열을 반환합니다.
getLogs(filter: Filter): Vec<Log>
Filter): Vec<Log>interface:
api.rpc.eth.getLogsjsonrpc:
eth_getLogssummary: 주어진 필터 객체와 일치하는 모든 로그의 배열을 반환합니다.
getStorageAt(address: H160, index: U256, number?: BlockNumber): H256
H160, index: U256, number?: BlockNumber): H256interface:
api.rpc.eth.getStorageAtjsonrpc:
eth_getStorageAtsummary: 주어진 주소의 특정 스토리지 위치에서 값을 반환합니다.
getTransactionByBlockHashAndIndex(hash: H256, index: Index): Transaction
H256, index: Index): Transactioninterface:
api.rpc.eth.getTransactionByBlockHashjsonrpc:
eth_getTransactionByBlockHashAndIndexsummary: 블록 해시 및 트랜잭션 인덱스 위치를 통해 트랜잭션 정보를 반환합니다.
getTransactionByBlockNumberAndIndex(number: BlockNumber, index: Index): Transaction
BlockNumber, index: Index): Transactioninterface:
api.rpc.eth.getTransactionByBlockNumberAndIndexjsonrpc:
eth_getTransactionByBlockNumberAndIndexsummary: 블록 번호 및 트랜잭션 인덱스 위치를 통해 트랜잭션 정보를 반환합니다.
getTransactionByHash(hash: H256): Transaction
H256): Transactioninterface:
api.rpc.eth.getTransactionByHashjsonrpc:
eth_getTransactionByHashsummary: 주어진 해시에 대한 트랜잭션 정보를 반환합니다.
getTransactionCount(address: H160, number?: BlockNumber): U256
H160, number?: BlockNumber): U256interface:
api.rpc.eth.getTransactionCountjsonrpc:
eth_getTransactionCountsummary: 주소에서 전송된 트랜잭션 수를 반환합니다.
getTransactionReceipt(hash: H256): Receipt
H256): Receiptinterface:
api.rpc.eth.getTransactionReceiptjsonrpc:
eth_getTransactionReceiptsummary: 트랜잭션 해시를 통해 트랜잭션 영수증을 반환합니다.
maxPriorityFeePerGas(): U256
U256interface:
api.rpc.eth.maxPriorityFeePerGasjsonrpc:
eth_maxPriorityFeePerGassummary: EIP-1159에 도입된 Geth 전용의 간소화된 우선순위 수수료 오라클.
newBlockFilter(): U256
U256interface:
api.rpc.eth.newBlockFilterjsonrpc:
eth_newBlockFiltersummary: 노드에 새 블록이 도착할 때 알림을 받을 필터를 생성합니다. 상태 변경을 확인하려면
eth_getFilterChanges를 호출하십시오.
newFilter(filter: Filter): U256
Filter): U256interface:
api.rpc.eth.newFilterjsonrpc:
eth_newFiltersummary: 필터 옵션에 따라 상태 변경 (로그) 시 알림을 받을 필터 객체를 생성합니다. 상태 변경을 확인하려면
eth_getFilterChanges를 호출하십시오.
protocolVersion(): u64
u64interface:
api.rpc.eth.protocolVersionjsonrpc:
eth_protocolVersionsummary: 현재 이더리움 프로토콜 버전을 반환합니다.
sendRawTransaction(bytes: Bytes): H256
Bytes): H256interface:
api.rpc.eth.sendRawTransactionjsonrpc:
eth_sendRawTransactionsummary: 네트워크에 브로드캐스트하기 위해 미리 서명된 트랜잭션을 제출합니다.
sendTransaction(request: TransactionRequest): H256
TransactionRequest): H256interface:
api.rpc.eth.sendTransactionjsonrpc:
eth_sendTransactionsummary: 트랜잭션을 전송하며, 서명자가 트랜잭션 해시를 반환할 때까지 블록 상태로 대기합니다.
syncing(): SyncStatus
SyncStatusinterface:
api.rpc.eth.syncingjsonrpc:
eth_syncingsummary: 동기화 상태에 대한 데이터를 포함하는 객체를 반환하거나, 그렇지 않으면 '거짓 (false)'을 반환합니다.
uninstallFilter(index: Index): bool
Index): boolinterface:
api.rpc.eth.uninstallFilterjsonrpc:
eth_uninstallFiltersummary: 주어진 ID의 필터를 제거합니다. 더 이상 감시가 필요 없을 때 항상 호출해야 합니다. 또한 필터는 일정 기간 동안
eth_getFilterChanges로 요청되지 않으면 타임아웃됩니다.
Last updated