Skip to content

Node RPC URL not initialized #7

@banlieu451

Description

@banlieu451

/tokens endpoints work good
/raw/swap not work and return
{"statusCode":400,"errorCode":"NodeRpcUrlNotInitializedError","message":"For chain 'ETH' Node RPC URL not initialized"}
when calling curl "http://localhost:3000/raw/swap?\ amount=1000000&\ sender=0xAdD1BCe055ebAFB44d0C0584742d4e45797B&\ recipient=0xAdD1BCe055ebAFB44d0C0584742d4e45797B&\ sourceToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&\ destinationToken=0xdAC17F958D2ee523a2206206994597C13D831ec7&\ minimumReceiveAmount=990000"

.env :

ETH_NODE_URL=https://ethereum-rpc.publicnode.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions