wallet-storage
Version:
BRC100 conforming wallet, wallet storage and wallet signer components
16 lines (12 loc) • 506 B
text/typescript
import { Services } from "../../index.client"
describe('getRawTx service tests', () => {
jest.setTimeout(99999999)
test('0', async () => {
const options = Services.createDefaultOptions('main')
const services = new Services(options)
const txid = '9cce99686bc8621db439b7150dd5b3b269e4b0628fd75160222c417d6f2b95e4'
const r = await services.getMerklePath(txid)
expect(r.header?.height).toBe(877599)
expect(r.merklePath).toBeTruthy()
})
})