@@ -126,7 +126,7 @@ the `0x1::coin::balance<CoinType>(account address)` view function. This will co
126
126
``` ts filename="example.ts"
127
127
import { Aptos , AptosConfig , Network } from " @aptos-labs/ts-sdk" ;
128
128
129
- const config = new AptosConfig ({ network: Network .TESTNET });
129
+ const config = new AptosConfig ({ network: Network .DEVNET });
130
130
const aptos = new Aptos (config );
131
131
132
132
const coinType = " 0x1::aptos_coin::AptosCoin" ;
@@ -146,7 +146,7 @@ A specific ledger version (transaction height) can be provided to get the balanc
146
146
``` ts filename="example.ts"
147
147
import { Aptos , AptosConfig , Network } from " @aptos-labs/ts-sdk" ;
148
148
149
- const config = new AptosConfig ({ network: Network .TESTNET });
149
+ const config = new AptosConfig ({ network: Network .DEVNET });
150
150
const aptos = new Aptos (config );
151
151
152
152
const coinType = " 0x1::aptos_coin::AptosCoin" ;
@@ -173,7 +173,7 @@ Note, that this will not include the balance of coins if it's a migrated coin.
173
173
``` ts filename="example.ts"
174
174
import { Aptos , AptosConfig , Network } from " @aptos-labs/ts-sdk" ;
175
175
176
- const config = new AptosConfig ({ network: Network .TESTNET });
176
+ const config = new AptosConfig ({ network: Network .DEVNET });
177
177
const aptos = new Aptos (config );
178
178
179
179
const faMetadataAddress = " 0xA" ;
@@ -193,7 +193,7 @@ A specific ledger version (transaction height) can be provided to get the balanc
193
193
``` ts filename="example.ts"
194
194
import { Aptos , AptosConfig , Network } from " @aptos-labs/ts-sdk" ;
195
195
196
- const config = new AptosConfig ({ network: Network .TESTNET });
196
+ const config = new AptosConfig ({ network: Network .DEVNET });
197
197
const aptos = new Aptos (config );
198
198
199
199
const faMetadataAddress = " 0xA" ;
0 commit comments