Comment on page
Authentication
This page contains information about currently supported authentication types.
Access our RPC nodes securely by authenticating with your Tatum account through available methods listed below, ensuring a secure and personalized experience. While it is possible to connect without authentication, please note that this approach provides limited access and functionalities.
import { TatumSDK, Ethereum, Network } from '@tatumio/tatum'
const tatum = await TatumSDK.init<Ethereum>({
network: Network.ETHEREUM,
apiKey: { v4: 'YOU-API-KEY'}
}
)
Please use following base64 format: x-api-key:<YOUR-API-KEY>
curl --location 'https://02-dallas-022-01.rpc.tatum.io'
--header 'Content-Type: application/json'
--header 'Authorization: Basic eC1...S0x'
--data '{
"jsonrpc":"2.0",
"method":"web3_clientVersion",
"params":[],
"id":67
}'
curl --location 'https://02-dallas-022-01.rpc.tatum.io'
--header 'Content-Type: application/json'
--header 'Authorization: bearer <YOUR-API-KEY>'
--data '{
"jsonrpc":"2.0",
"method":"web3_clientVersion",
"params":[],
"id":1
}'
curl --location 'https://02-dallas-022-01.rpc.tatum.io'
--header 'Content-Type: application/json'
--user 'x-api-key:<YOUR-API-KEY>'
--data '{
"jsonrpc":"2.0",
"method":"web3_clientVersion",
"params":[],
"id":1
}'
curl --location 'https://02-dallas-022-01.rpc.tatum.io'
--header 'Content-Type: application/json'
--header 'x-api-key:<YOUR-API-KEY>'
--data '{
"jsonrpc":"2.0",
"method":"web3_clientVersion",
"params":[],
"id":1
}'
curl --location 'https://x-api-key:<YOUR-API-KEY>@02-dallas-022-01.rpc.tatum.io'
--header 'Content-Type: application/json'
--data '{
"jsonrpc":"2.0",
"method":"web3_clientVersion",
"params":[],
"id":1
}'
Last modified 26d ago