The client to use. AvalancheCoreClient
The transaction to issue. IssueTxParameters
The transaction ID. IssueTxReturnType
import { createAvalancheCoreClient } from '@avalanche-sdk/client'
import { avalanche } from '@avalanche-sdk/client/chains'
import { issueTx } from '@avalanche-sdk/client/methods/xChain'
const client = createAvalancheCoreClient({
chain: avalanche,
transport: {
type: "http",
url: "<url>",
},
})
const tx = await issueTx(client, {
tx: "0x1234567890abcdef"
})
Issue a transaction.