Skip to content

send_transaction rpc endpoint problem #2

Description

@junegun
  when i use send_transaction, endpoint url "/" duplicated
  
###  searcher.py

def _send_rpc_request
url = f"{self.block_engine_url}/{endpoint}"

def send_transaction
response = self._send_rpc_request("/api/v1/transactions", "sendTransaction", [transaction])

when i used send_transaction method
enpoint url like this f"{self.block_engine_url}//api/v1/transactions"
"/" use twice problem

i think update like this api/v1/tranactions

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions