transport vs http_transport
- Use http_transport when you need HTTP-specific options like timeout, retry count, rate limits, concurrency, SSL verification, or log pagination limits.
- Use transport for minimal generic transport construction.
Creates a lightweight TRANSPORT from an RPC endpoint and optional chain ID. Use http_transport when you need timeouts, retries, throttling, TLS settings, or log-pagination controls.
Local
Exact signatures with descriptions, requirements, inputs, returns, and examples.
transport(VARCHAR, UBIGINT) # Requires an explicit chain identifier to avoid relying on remote defaults.
| Name | Type | Use |
|---|---|---|
url | VARCHAR HTTP or HTTPS JSON-RPC endpoint. Bare hosts are normalized to URLs. | required positional |
chain_id | UBIGINT Trusted caller-declared EVM chain id carried with the transport. | required positional |
| Name | Type |
|---|---|
transport | TRANSPORT |
TRANSPORT JSON. Returns a TRANSPORT-typed JSON object with normalized url and chain_id.
transport(VARCHAR) # Infers the protocol and defaults to Ethereum mainnet (chain id 1).
| Name | Type | Use |
|---|---|---|
url | VARCHAR HTTP or HTTPS JSON-RPC endpoint. Omitted chain_id defaults to Ethereum mainnet (1). | required positional |
| Name | Type |
|---|---|
transport | TRANSPORT |
TRANSPORT JSON. Returns a TRANSPORT-typed JSON object with normalized url and chain_id.
Local SQL
Local SQL