diff --git a/docs/rpc/deprecated/getConfirmedBlock.mdx b/docs/rpc/deprecated/getConfirmedBlock.mdx index 42179d731..d9236f130 100644 --- a/docs/rpc/deprecated/getConfirmedBlock.mdx +++ b/docs/rpc/deprecated/getConfirmedBlock.mdx @@ -152,7 +152,7 @@ The result field will be an object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getConfirmedBlock", diff --git a/docs/rpc/deprecated/getConfirmedBlocks.mdx b/docs/rpc/deprecated/getConfirmedBlocks.mdx index 4070da744..2e4cc769b 100644 --- a/docs/rpc/deprecated/getConfirmedBlocks.mdx +++ b/docs/rpc/deprecated/getConfirmedBlocks.mdx @@ -50,7 +50,7 @@ block, inclusive. Max range allowed is 500,000 slots. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc": "2.0","id":1,"method":"getConfirmedBlocks","params":[5, 10]} ' ``` diff --git a/docs/rpc/deprecated/getConfirmedBlocksWithLimit.mdx b/docs/rpc/deprecated/getConfirmedBlocksWithLimit.mdx index 003014196..21efd752f 100644 --- a/docs/rpc/deprecated/getConfirmedBlocksWithLimit.mdx +++ b/docs/rpc/deprecated/getConfirmedBlocksWithLimit.mdx @@ -53,7 +53,7 @@ starting at `start_slot` for up to `limit` blocks, inclusive. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getConfirmedBlocksWithLimit", diff --git a/docs/rpc/deprecated/getConfirmedSignaturesForAddress2.mdx b/docs/rpc/deprecated/getConfirmedSignaturesForAddress2.mdx index 1960df880..5db4d57a0 100644 --- a/docs/rpc/deprecated/getConfirmedSignaturesForAddress2.mdx +++ b/docs/rpc/deprecated/getConfirmedSignaturesForAddress2.mdx @@ -83,7 +83,7 @@ fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/deprecated/getConfirmedTransaction.mdx b/docs/rpc/deprecated/getConfirmedTransaction.mdx index a60762801..3a96d97c3 100644 --- a/docs/rpc/deprecated/getConfirmedTransaction.mdx +++ b/docs/rpc/deprecated/getConfirmedTransaction.mdx @@ -108,7 +108,7 @@ Encoding format for Account data ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/deprecated/getFeeCalculatorForBlockhash.mdx b/docs/rpc/deprecated/getFeeCalculatorForBlockhash.mdx index e071dadd8..75d6093e0 100644 --- a/docs/rpc/deprecated/getFeeCalculatorForBlockhash.mdx +++ b/docs/rpc/deprecated/getFeeCalculatorForBlockhash.mdx @@ -59,7 +59,7 @@ The result will be an RpcResponse JSON object with `value` equal to: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/deprecated/getFeeRateGovernor.mdx b/docs/rpc/deprecated/getFeeRateGovernor.mdx index 3a1a748b9..292be480e 100644 --- a/docs/rpc/deprecated/getFeeRateGovernor.mdx +++ b/docs/rpc/deprecated/getFeeRateGovernor.mdx @@ -42,7 +42,7 @@ with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getFeeRateGovernor"} ' ``` diff --git a/docs/rpc/deprecated/getFees.mdx b/docs/rpc/deprecated/getFees.mdx index 7ff41b570..30f0a2435 100644 --- a/docs/rpc/deprecated/getFees.mdx +++ b/docs/rpc/deprecated/getFees.mdx @@ -60,7 +60,7 @@ with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id": 1, "method":"getFees"} ' ``` diff --git a/docs/rpc/deprecated/getRecentBlockhash.mdx b/docs/rpc/deprecated/getRecentBlockhash.mdx index f5d06254f..5668aa90a 100644 --- a/docs/rpc/deprecated/getRecentBlockhash.mdx +++ b/docs/rpc/deprecated/getRecentBlockhash.mdx @@ -56,7 +56,7 @@ FeeCalculator JSON object. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getRecentBlockhash"} ' ``` diff --git a/docs/rpc/deprecated/getSnapshotSlot.mdx b/docs/rpc/deprecated/getSnapshotSlot.mdx index e2b35fa5b..6b4d83fc7 100644 --- a/docs/rpc/deprecated/getSnapshotSlot.mdx +++ b/docs/rpc/deprecated/getSnapshotSlot.mdx @@ -33,7 +33,7 @@ Returns the highest slot that the node has a snapshot for ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getSnapshotSlot"} ' ``` diff --git a/docs/rpc/deprecated/getStakeActivation.mdx b/docs/rpc/deprecated/getStakeActivation.mdx index 2c7654cb4..c0a808703 100644 --- a/docs/rpc/deprecated/getStakeActivation.mdx +++ b/docs/rpc/deprecated/getStakeActivation.mdx @@ -64,7 +64,7 @@ The result will be a JSON object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getAccountInfo.mdx b/docs/rpc/http/getAccountInfo.mdx index e9c32a550..a96d9ebb2 100644 --- a/docs/rpc/http/getAccountInfo.mdx +++ b/docs/rpc/http/getAccountInfo.mdx @@ -99,7 +99,7 @@ The result will be an RpcResponse JSON object with `value` equal to: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getBalance.mdx b/docs/rpc/http/getBalance.mdx index 7105ed15d..514f653cf 100644 --- a/docs/rpc/http/getBalance.mdx +++ b/docs/rpc/http/getBalance.mdx @@ -47,7 +47,7 @@ balance ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getBalance", diff --git a/docs/rpc/http/getBlock.mdx b/docs/rpc/http/getBlock.mdx index 559bd6273..d75329dc4 100644 --- a/docs/rpc/http/getBlock.mdx +++ b/docs/rpc/http/getBlock.mdx @@ -205,7 +205,7 @@ The result field will be an object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0","id":1, "method":"getBlock", diff --git a/docs/rpc/http/getBlockCommitment.mdx b/docs/rpc/http/getBlockCommitment.mdx index 54ecfe5bd..3d4446da0 100644 --- a/docs/rpc/http/getBlockCommitment.mdx +++ b/docs/rpc/http/getBlockCommitment.mdx @@ -36,7 +36,7 @@ The result field will be a JSON object containing: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getBlockCommitment", diff --git a/docs/rpc/http/getBlockHeight.mdx b/docs/rpc/http/getBlockHeight.mdx index 3d48fcdfc..8be00d7b0 100644 --- a/docs/rpc/http/getBlockHeight.mdx +++ b/docs/rpc/http/getBlockHeight.mdx @@ -42,7 +42,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0","id":1, "method":"getBlockHeight" diff --git a/docs/rpc/http/getBlockProduction.mdx b/docs/rpc/http/getBlockProduction.mdx index 6e79849e8..90d03b34f 100644 --- a/docs/rpc/http/getBlockProduction.mdx +++ b/docs/rpc/http/getBlockProduction.mdx @@ -62,7 +62,7 @@ The result will be an RpcResponse JSON object with `value` equal to: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getBlockProduction"} ' ``` diff --git a/docs/rpc/http/getBlockTime.mdx b/docs/rpc/http/getBlockTime.mdx index f8a92ac1f..c0435fab4 100644 --- a/docs/rpc/http/getBlockTime.mdx +++ b/docs/rpc/http/getBlockTime.mdx @@ -37,7 +37,7 @@ Returns the estimated production time of a block. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id":1, "method": "getBlockTime", diff --git a/docs/rpc/http/getBlocks.mdx b/docs/rpc/http/getBlocks.mdx index 59cb0c1b6..3967e2a85 100644 --- a/docs/rpc/http/getBlocks.mdx +++ b/docs/rpc/http/getBlocks.mdx @@ -54,7 +54,7 @@ block, inclusive. Max range allowed is 500,000 slots. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getBlocks", diff --git a/docs/rpc/http/getBlocksWithLimit.mdx b/docs/rpc/http/getBlocksWithLimit.mdx index dd432d759..f86b888bc 100644 --- a/docs/rpc/http/getBlocksWithLimit.mdx +++ b/docs/rpc/http/getBlocksWithLimit.mdx @@ -53,7 +53,7 @@ starting at `start_slot` for up to `limit` blocks, inclusive. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id":1, diff --git a/docs/rpc/http/getClusterNodes.mdx b/docs/rpc/http/getClusterNodes.mdx index 647753ccb..18e685a75 100644 --- a/docs/rpc/http/getClusterNodes.mdx +++ b/docs/rpc/http/getClusterNodes.mdx @@ -39,7 +39,7 @@ fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getClusterNodes" diff --git a/docs/rpc/http/getEpochInfo.mdx b/docs/rpc/http/getEpochInfo.mdx index 97fbdc91f..ce4f696e6 100644 --- a/docs/rpc/http/getEpochInfo.mdx +++ b/docs/rpc/http/getEpochInfo.mdx @@ -50,7 +50,7 @@ The result field will be an object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getEpochInfo"} ' ``` diff --git a/docs/rpc/http/getEpochSchedule.mdx b/docs/rpc/http/getEpochSchedule.mdx index 37f3b34ca..46f61341f 100644 --- a/docs/rpc/http/getEpochSchedule.mdx +++ b/docs/rpc/http/getEpochSchedule.mdx @@ -36,7 +36,7 @@ The result field will be an object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0","id":1, "method":"getEpochSchedule" diff --git a/docs/rpc/http/getFeeForMessage.mdx b/docs/rpc/http/getFeeForMessage.mdx index 8c42926d4..3c2ee74be 100644 --- a/docs/rpc/http/getFeeForMessage.mdx +++ b/docs/rpc/http/getFeeForMessage.mdx @@ -51,7 +51,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "id":1, "jsonrpc":"2.0", diff --git a/docs/rpc/http/getFirstAvailableBlock.mdx b/docs/rpc/http/getFirstAvailableBlock.mdx index 7df457c80..c21af52eb 100644 --- a/docs/rpc/http/getFirstAvailableBlock.mdx +++ b/docs/rpc/http/getFirstAvailableBlock.mdx @@ -27,7 +27,7 @@ ledger ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0","id":1, "method":"getFirstAvailableBlock" diff --git a/docs/rpc/http/getGenesisHash.mdx b/docs/rpc/http/getGenesisHash.mdx index 565c65e24..e7f537644 100644 --- a/docs/rpc/http/getGenesisHash.mdx +++ b/docs/rpc/http/getGenesisHash.mdx @@ -26,7 +26,7 @@ Returns the genesis hash ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getGenesisHash"} ' ``` diff --git a/docs/rpc/http/getHealth.mdx b/docs/rpc/http/getHealth.mdx index c036737b5..48952db2c 100644 --- a/docs/rpc/http/getHealth.mdx +++ b/docs/rpc/http/getHealth.mdx @@ -31,7 +31,7 @@ of the error response are **UNSTABLE** and may change in the future ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getHealth"} ' ``` diff --git a/docs/rpc/http/getHighestSnapshotSlot.mdx b/docs/rpc/http/getHighestSnapshotSlot.mdx index 6822dfbbd..e851c05a0 100644 --- a/docs/rpc/http/getHighestSnapshotSlot.mdx +++ b/docs/rpc/http/getHighestSnapshotSlot.mdx @@ -41,7 +41,7 @@ fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1,"method":"getHighestSnapshotSlot"} ' ``` diff --git a/docs/rpc/http/getIdentity.mdx b/docs/rpc/http/getIdentity.mdx index ae835488a..a027615ad 100644 --- a/docs/rpc/http/getIdentity.mdx +++ b/docs/rpc/http/getIdentity.mdx @@ -29,7 +29,7 @@ The result field will be a JSON object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getIdentity"} ' ``` diff --git a/docs/rpc/http/getInflationGovernor.mdx b/docs/rpc/http/getInflationGovernor.mdx index 8d4624307..e93e7bd5e 100644 --- a/docs/rpc/http/getInflationGovernor.mdx +++ b/docs/rpc/http/getInflationGovernor.mdx @@ -46,7 +46,7 @@ The result field will be a JSON object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getInflationGovernor"} ' ``` diff --git a/docs/rpc/http/getInflationRate.mdx b/docs/rpc/http/getInflationRate.mdx index 4901da3ca..78120b0c0 100644 --- a/docs/rpc/http/getInflationRate.mdx +++ b/docs/rpc/http/getInflationRate.mdx @@ -32,7 +32,7 @@ The result field will be a JSON object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getInflationRate"} ' ``` diff --git a/docs/rpc/http/getInflationReward.mdx b/docs/rpc/http/getInflationReward.mdx index 677b69b9f..ebde5bc1b 100644 --- a/docs/rpc/http/getInflationReward.mdx +++ b/docs/rpc/http/getInflationReward.mdx @@ -58,7 +58,7 @@ The result field will be a JSON array with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getLargestAccounts.mdx b/docs/rpc/http/getLargestAccounts.mdx index c513f1393..6ca86f8a3 100644 --- a/docs/rpc/http/getLargestAccounts.mdx +++ b/docs/rpc/http/getLargestAccounts.mdx @@ -49,7 +49,7 @@ The result will be an RpcResponse JSON object with `value` equal to an array of ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getLargestAccounts"} ' ``` diff --git a/docs/rpc/http/getLatestBlockhash.mdx b/docs/rpc/http/getLatestBlockhash.mdx index a91818b8c..b43940402 100644 --- a/docs/rpc/http/getLatestBlockhash.mdx +++ b/docs/rpc/http/getLatestBlockhash.mdx @@ -54,7 +54,7 @@ object including: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "id":1, "jsonrpc":"2.0", diff --git a/docs/rpc/http/getLeaderSchedule.mdx b/docs/rpc/http/getLeaderSchedule.mdx index 26dee13c9..4ba0a3bc3 100644 --- a/docs/rpc/http/getLeaderSchedule.mdx +++ b/docs/rpc/http/getLeaderSchedule.mdx @@ -57,7 +57,7 @@ Returns a result with one of the two following values: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getMaxRetransmitSlot.mdx b/docs/rpc/http/getMaxRetransmitSlot.mdx index 717a767a7..b1f2a1847 100644 --- a/docs/rpc/http/getMaxRetransmitSlot.mdx +++ b/docs/rpc/http/getMaxRetransmitSlot.mdx @@ -27,7 +27,7 @@ Get the max slot seen from retransmit stage. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getMaxRetransmitSlot"} ' ``` diff --git a/docs/rpc/http/getMaxShredInsertSlot.mdx b/docs/rpc/http/getMaxShredInsertSlot.mdx index 64981ff07..059c0fd1d 100644 --- a/docs/rpc/http/getMaxShredInsertSlot.mdx +++ b/docs/rpc/http/getMaxShredInsertSlot.mdx @@ -27,7 +27,7 @@ Get the max slot seen from after shred insert. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getMaxShredInsertSlot"} ' ``` diff --git a/docs/rpc/http/getMinimumBalanceForRentExemption.mdx b/docs/rpc/http/getMinimumBalanceForRentExemption.mdx index 87c1bf861..11ef41b38 100644 --- a/docs/rpc/http/getMinimumBalanceForRentExemption.mdx +++ b/docs/rpc/http/getMinimumBalanceForRentExemption.mdx @@ -42,7 +42,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getMinimumBalanceForRentExemption", diff --git a/docs/rpc/http/getMultipleAccounts.mdx b/docs/rpc/http/getMultipleAccounts.mdx index 7d8bcee79..ce9312bdc 100644 --- a/docs/rpc/http/getMultipleAccounts.mdx +++ b/docs/rpc/http/getMultipleAccounts.mdx @@ -102,7 +102,7 @@ The result will be a JSON object with `value` equal to an array of: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getProgramAccounts.mdx b/docs/rpc/http/getProgramAccounts.mdx index 5ff5d1bee..dd59c122d 100644 --- a/docs/rpc/http/getProgramAccounts.mdx +++ b/docs/rpc/http/getProgramAccounts.mdx @@ -128,7 +128,7 @@ The resultant response array will contain: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getRecentPerformanceSamples.mdx b/docs/rpc/http/getRecentPerformanceSamples.mdx index 670491666..2c431533c 100644 --- a/docs/rpc/http/getRecentPerformanceSamples.mdx +++ b/docs/rpc/http/getRecentPerformanceSamples.mdx @@ -48,11 +48,12 @@ An array of `RpcPerfSample` with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id":1, "method": "getRecentPerformanceSamples", - "params": [4]} + "params": [4] + } ' ``` diff --git a/docs/rpc/http/getRecentPrioritizationFees.mdx b/docs/rpc/http/getRecentPrioritizationFees.mdx index 8860cf925..25359e528 100644 --- a/docs/rpc/http/getRecentPrioritizationFees.mdx +++ b/docs/rpc/http/getRecentPrioritizationFees.mdx @@ -47,7 +47,7 @@ An array of `RpcPrioritizationFee` with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id":1, "method": "getRecentPrioritizationFees", diff --git a/docs/rpc/http/getSignatureStatuses.mdx b/docs/rpc/http/getSignatureStatuses.mdx index 6c4258ba7..bf101e360 100644 --- a/docs/rpc/http/getSignatureStatuses.mdx +++ b/docs/rpc/http/getSignatureStatuses.mdx @@ -68,7 +68,7 @@ An array of `RpcResponse` consisting of either: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getSignaturesForAddress.mdx b/docs/rpc/http/getSignaturesForAddress.mdx index 33373bf27..2587fa931 100644 --- a/docs/rpc/http/getSignaturesForAddress.mdx +++ b/docs/rpc/http/getSignaturesForAddress.mdx @@ -78,7 +78,7 @@ containing transaction signature information with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getSlot.mdx b/docs/rpc/http/getSlot.mdx index 266f30702..504c6c323 100644 --- a/docs/rpc/http/getSlot.mdx +++ b/docs/rpc/http/getSlot.mdx @@ -43,7 +43,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getSlot"} ' ``` diff --git a/docs/rpc/http/getSlotLeader.mdx b/docs/rpc/http/getSlotLeader.mdx index b0fa2e787..355c9c024 100644 --- a/docs/rpc/http/getSlotLeader.mdx +++ b/docs/rpc/http/getSlotLeader.mdx @@ -42,7 +42,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getSlotLeader"} ' ``` diff --git a/docs/rpc/http/getSlotLeaders.mdx b/docs/rpc/http/getSlotLeaders.mdx index cf1975d69..2b095babd 100644 --- a/docs/rpc/http/getSlotLeaders.mdx +++ b/docs/rpc/http/getSlotLeaders.mdx @@ -37,7 +37,7 @@ If the current slot is `#99` - query the next `10` leaders with the following request: ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id": 1, "method": "getSlotLeaders", diff --git a/docs/rpc/http/getStakeMinimumDelegation.mdx b/docs/rpc/http/getStakeMinimumDelegation.mdx index 9383f0ec7..b98f1a359 100644 --- a/docs/rpc/http/getStakeMinimumDelegation.mdx +++ b/docs/rpc/http/getStakeMinimumDelegation.mdx @@ -40,7 +40,7 @@ The result will be an RpcResponse JSON object with `value` equal to: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc":"2.0", "id":1, "method": "getStakeMinimumDelegation" diff --git a/docs/rpc/http/getSupply.mdx b/docs/rpc/http/getSupply.mdx index 814993916..ebd60fa00 100644 --- a/docs/rpc/http/getSupply.mdx +++ b/docs/rpc/http/getSupply.mdx @@ -50,7 +50,7 @@ object containing: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0", "id":1, "method":"getSupply"} ' ``` diff --git a/docs/rpc/http/getTokenAccountBalance.mdx b/docs/rpc/http/getTokenAccountBalance.mdx index 74dd8558d..dfef4c521 100644 --- a/docs/rpc/http/getTokenAccountBalance.mdx +++ b/docs/rpc/http/getTokenAccountBalance.mdx @@ -55,7 +55,7 @@ from [getBlock](/docs/rpc/http/getblock) follows a similar structure. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getTokenAccountBalance", diff --git a/docs/rpc/http/getTokenAccountsByDelegate.mdx b/docs/rpc/http/getTokenAccountsByDelegate.mdx index f706bd2b6..619f743ac 100644 --- a/docs/rpc/http/getTokenAccountsByDelegate.mdx +++ b/docs/rpc/http/getTokenAccountsByDelegate.mdx @@ -115,7 +115,7 @@ can be expected inside the structure, both for the `tokenAmount` and the ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getTokenAccountsByOwner.mdx b/docs/rpc/http/getTokenAccountsByOwner.mdx index 46b4558dc..a6d1677b2 100644 --- a/docs/rpc/http/getTokenAccountsByOwner.mdx +++ b/docs/rpc/http/getTokenAccountsByOwner.mdx @@ -115,7 +115,7 @@ can be expected inside the structure, both for the `tokenAmount` and the ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getTokenLargestAccounts.mdx b/docs/rpc/http/getTokenLargestAccounts.mdx index 570c8dd68..3702a0ad7 100644 --- a/docs/rpc/http/getTokenLargestAccounts.mdx +++ b/docs/rpc/http/getTokenLargestAccounts.mdx @@ -52,7 +52,7 @@ JSON objects containing: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getTokenLargestAccounts", diff --git a/docs/rpc/http/getTokenSupply.mdx b/docs/rpc/http/getTokenSupply.mdx index f49ae5ecc..193f79d48 100644 --- a/docs/rpc/http/getTokenSupply.mdx +++ b/docs/rpc/http/getTokenSupply.mdx @@ -51,7 +51,7 @@ object containing: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getTokenSupply", diff --git a/docs/rpc/http/getTransaction.mdx b/docs/rpc/http/getTransaction.mdx index 164b7ea1a..1fa973600 100644 --- a/docs/rpc/http/getTransaction.mdx +++ b/docs/rpc/http/getTransaction.mdx @@ -143,7 +143,7 @@ Encoding for the returned Transaction ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/getTransactionCount.mdx b/docs/rpc/http/getTransactionCount.mdx index c466131a8..d3b07b6c7 100644 --- a/docs/rpc/http/getTransactionCount.mdx +++ b/docs/rpc/http/getTransactionCount.mdx @@ -42,7 +42,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getTransactionCount"} ' ``` diff --git a/docs/rpc/http/getVersion.mdx b/docs/rpc/http/getVersion.mdx index e71f85c99..5aeb25ea1 100644 --- a/docs/rpc/http/getVersion.mdx +++ b/docs/rpc/http/getVersion.mdx @@ -31,7 +31,7 @@ The result field will be a JSON object with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"getVersion"} ' ``` diff --git a/docs/rpc/http/getVoteAccounts.mdx b/docs/rpc/http/getVoteAccounts.mdx index 322b0ce68..2ba1257d8 100644 --- a/docs/rpc/http/getVoteAccounts.mdx +++ b/docs/rpc/http/getVoteAccounts.mdx @@ -69,7 +69,7 @@ each containing an array of JSON objects with the following sub fields: Restrict results to a single validator vote account: ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/index.mdx b/docs/rpc/http/index.mdx index db962ca73..ddcaa9649 100644 --- a/docs/rpc/http/index.mdx +++ b/docs/rpc/http/index.mdx @@ -36,7 +36,7 @@ fields: Example using curl: ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, @@ -64,7 +64,7 @@ The commitment parameter should be included as the last element in the `params` array: ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/isBlockhashValid.mdx b/docs/rpc/http/isBlockhashValid.mdx index 76eb165c7..c9e951f67 100644 --- a/docs/rpc/http/isBlockhashValid.mdx +++ b/docs/rpc/http/isBlockhashValid.mdx @@ -52,7 +52,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "id":45, "jsonrpc":"2.0", diff --git a/docs/rpc/http/minimumLedgerSlot.mdx b/docs/rpc/http/minimumLedgerSlot.mdx index 73d5d40c4..d4596b0cb 100644 --- a/docs/rpc/http/minimumLedgerSlot.mdx +++ b/docs/rpc/http/minimumLedgerSlot.mdx @@ -32,7 +32,7 @@ Returns the lowest slot that the node has information about in its ledger. ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0","id":1, "method":"minimumLedgerSlot"} ' ``` diff --git a/docs/rpc/http/requestAirdrop.mdx b/docs/rpc/http/requestAirdrop.mdx index b6181d644..b2ff929ad 100644 --- a/docs/rpc/http/requestAirdrop.mdx +++ b/docs/rpc/http/requestAirdrop.mdx @@ -46,7 +46,7 @@ Configuration object containing the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "requestAirdrop", diff --git a/docs/rpc/http/sendTransaction.mdx b/docs/rpc/http/sendTransaction.mdx index 123b5afe9..d77f578d0 100644 --- a/docs/rpc/http/sendTransaction.mdx +++ b/docs/rpc/http/sendTransaction.mdx @@ -99,7 +99,7 @@ encoded string ([transaction id](/docs/terminology.md#transaction-id)) ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, diff --git a/docs/rpc/http/simulateTransaction.mdx b/docs/rpc/http/simulateTransaction.mdx index 9eae131f9..8256f7d72 100644 --- a/docs/rpc/http/simulateTransaction.mdx +++ b/docs/rpc/http/simulateTransaction.mdx @@ -149,7 +149,7 @@ with the following fields: ### Code sample ```shell -curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' +curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1,