Runnable examples demonstrating common operations with the IOTA TypeScript SDK.
| Example | Description |
|---|---|
custom-signer.ts |
Extend the abstract Signer class and use it to sign a transaction |
get-balance.ts |
Fetch an account's IOTA balance and coin objects from devnet |
transfer-iota.ts |
Build and execute a transaction to transfer IOTA tokens on devnet |
tx-with-graphql.ts |
Execute a transaction and query details via GraphQL transport |
move-authenticator.ts |
Publish, create and send with an on-chain account (Move Authenticator) |
move-authenticator-existing.ts |
Send with an on-chain account (Move Authenticator) |
From the package directory, run any example with:
pnpm example ./src/<file>.tsFor instance:
pnpm example ./src/get-balance.ts